fix dynamic addition of ~/apps/*/bin to $PATH
This commit is contained in:
parent
7fa25a909b
commit
5d2cf1594c
1 changed files with 2 additions and 2 deletions
4
zshenv
Normal file → Executable file
4
zshenv
Normal file → Executable file
|
|
@ -3,8 +3,8 @@ path=($HOME/bin $HOME/apps/bin /usr/local/riak/bin /usr/local/bin /usr/local/sbi
|
|||
[[ -e "$HOME/apps/android/platform-tools" ]] && path=($HOME/apps/android/platform-tools $path)
|
||||
[[ -e "$HOME/.rbenv/bin" ]] && path=($HOME/.rbenv/bin $path)
|
||||
|
||||
for bindir in "$HOME/apps/*/bin"; do
|
||||
path=("$bindir" $path)
|
||||
for bindir in $HOME/apps/*/bin; do
|
||||
path=($bindir $path)
|
||||
done
|
||||
|
||||
ZDOTDIR=~/config/zsh
|
||||
|
|
|
|||
Loading…
Reference in a new issue