1
0
Fork 0

Move zsh path modifications to .zprofile

This commit is contained in:
Jeremy Kaplan 2018-05-23 10:27:23 -07:00 committed by Jeremy Kaplan
commit 584e90f742
2 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,13 @@
# source the nix profile if it exists
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
. $HOME/.nix-profile/etc/profile.d/nix.sh
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi

View file

@ -1,5 +1,3 @@
export PATH=$HOME/bin:$HOME/.local/bin:$PATH
export EDITOR='nvim'
export VISUAL=$EDITOR