mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Adding /usr/local/bin to path for root in zsh
This commit is contained in:
parent
6ca2979116
commit
b30ff1104e
1 changed files with 2 additions and 0 deletions
2
zshrc
2
zshrc
|
|
@ -41,6 +41,8 @@ source $ZSH/oh-my-zsh.sh
|
||||||
# Thankfully the path that is already present is the one that the system has set according to
|
# Thankfully the path that is already present is the one that the system has set according to
|
||||||
# normal practices. This inserts a few more things that I use from the shell.
|
# normal practices. This inserts a few more things that I use from the shell.
|
||||||
export PATH=~/bin:~/util:$PATH:/usr/local/share/npm/bin
|
export PATH=~/bin:~/util:$PATH:/usr/local/share/npm/bin
|
||||||
|
|
||||||
|
[[ $(id -u) == 0 ]] && export PATH=/usr/local/bin/:$PATH
|
||||||
# export PAGER=vimpager
|
# export PAGER=vimpager
|
||||||
|
|
||||||
# zmodload zsh/complist
|
# zmodload zsh/complist
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue