Add $HOME/bin to PATH in bash+zsh

This commit is contained in:
Henrik Lissner 2017-10-07 17:38:22 +02:00
parent 363483d1b4
commit 302756a9bf
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@ PATH="$DOTFILES/bin:/usr/local/{bin,sbin}:$PATH"
for bin in "$ENABLED_DIR"/*/bin; do for bin in "$ENABLED_DIR"/*/bin; do
[[ -e "$bin" ]] && PATH="$bin:$PATH" [[ -e "$bin" ]] && PATH="$bin:$PATH"
done done
PATH="$HOME/bin:$PATH"
export PATH export PATH

View file

@ -8,6 +8,8 @@ path=( $DOTFILES/bin "$ENABLED_DIR"/*/bin /usr/local/{,s}bin $path )
load shell/+zsh/config.zsh load shell/+zsh/config.zsh
loadall env.zsh loadall env.zsh
path=( $HOME/bin $path )
fpath=( fpath=(
$DOTFILES/shell/+zsh/completions $DOTFILES/shell/+zsh/completions
$fpath $fpath