From ffa1aa3312c6f4bdbe4a161507c79c61e2aa2860 Mon Sep 17 00:00:00 2001 From: Rick <7rick@tuta.io> Date: Sun, 1 Aug 2021 08:48:26 +0530 Subject: [PATCH] ghcup env --- .zshrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index ab29fad..86d1156 100644 --- a/.zshrc +++ b/.zshrc @@ -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"