ghcup env

This commit is contained in:
Rick 2021-08-01 08:48:26 +05:30
parent 1ad5331eb6
commit ffa1aa3312
1 changed files with 7 additions and 2 deletions

9
.zshrc
View File

@ -41,7 +41,7 @@ prompt='%d/ $(git_branch_name) > '
source ~/.bash_aliases
export EDITOR=nvim
export PATH=/home/rick/.ghcup/bin/:$PATH:/home/rick/.emacs.d/bin/:/home/rick/jrnl/ecpd/7tools/:$HOME/.config/nvim/plugged/vim-superman/bin
export PATH=$PATH:/home/rick/.emacs.d/bin/ #:$HOME/.config/nvim/plugged/vim-superman/bin
# keybinds
bindkey ";5C" forward-word
@ -98,5 +98,10 @@ cursor_mode() {
cursor_mode
###
# open man and info from neovim
# vman opens manpages with nvim
compdef vman="man"
[ -f "/home/rick/.ghcup/env" ] && source "/home/rick/.ghcup/env" # ghcup-env
# contents of ~/.ghcup/env file:
# export PATH="$HOME/.cabal/bin:/home/rick/.ghcup/bin:$PATH"