zsh: Rename navigation to path, move PATH
This commit is contained in:
parent
bdcc85c50e
commit
3ea811046d
|
@ -1,7 +0,0 @@
|
||||||
setopt auto_cd
|
|
||||||
cdpath=(
|
|
||||||
$HOME/Code \
|
|
||||||
$HOME/Code/clients \
|
|
||||||
$HOME/Code/os \
|
|
||||||
$HOME
|
|
||||||
)
|
|
19
tag-zsh/zsh/configs/path.zsh
Normal file
19
tag-zsh/zsh/configs/path.zsh
Normal 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
|
|
@ -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
|
# extra files in ~/.zsh/configs/pre , ~/.zsh/configs , and ~/.zsh/configs/post
|
||||||
# these are loaded first, second, and third, respectively.
|
# these are loaded first, second, and third, respectively.
|
||||||
_load_settings() {
|
_load_settings() {
|
||||||
|
|
Loading…
Reference in a new issue