zsh: Rename navigation to path, move PATH

This commit is contained in:
Oliver Davies 2020-05-13 00:55:32 +01:00
parent bdcc85c50e
commit 3ea811046d
3 changed files with 19 additions and 17 deletions

View file

@ -1,7 +0,0 @@
setopt auto_cd
cdpath=(
$HOME/Code \
$HOME/Code/clients \
$HOME/Code/os \
$HOME
)

View file

@ -0,0 +1,19 @@
setopt auto_cd
export PATH=\
$PATH:\
/usr/bin:\
$HOME:/.bin:\
$HOME:/.composer/vendor/bin:\
$HOME:/.local/bin:\
$HOME:/.platformsh/bin:\
bin:\
node_modules/.bin:\
vendor/bin
export CDPATH=\
./:\
$HOME/Code:\
$HOME/Code/clients:\
$HOME/Code/os:\
$HOME

View file

@ -1,13 +1,3 @@
# If you come from bash you might have to change your $PATH.
export PATH=$PATH:bin
export PATH=$PATH:node_modules/.bin
export PATH=$PATH:vendor/bin
export PATH=$PATH:$HOME/.composer/vendor/bin
export PATH=$PATH:/usr/local/sbin
export PATH=$PATH:"$HOME/.platformsh/bin"
export PATH="$HOME/.bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# extra files in ~/.zsh/configs/pre , ~/.zsh/configs , and ~/.zsh/configs/post
# these are loaded first, second, and third, respectively.
_load_settings() {