added local fpath
This commit is contained in:
parent
acdb2cdfcc
commit
1a5d7679d2
6
zshrc
6
zshrc
|
@ -13,9 +13,13 @@ zstyle :omz:plugins:ssh-agent identities $( [[ -e ~/.ssh/autoload ]] && cat ~/.s
|
|||
zstyle :omz:plugins:ssh-agent lifetime 36h
|
||||
|
||||
# remove duplicates
|
||||
typeset -U PATH path
|
||||
typeset -U PATH path fpath
|
||||
path=( /bin /sbin /usr/bin /usr/sbin $path )
|
||||
|
||||
# Set funtion paths
|
||||
[[ -d /root/.local/share/zsh/functions ]] && fpath+=/root/.local/share/zsh/functions
|
||||
[[ -d /root/.config/zsh/functions ]] && fpath+=/root/.config/zsh/functions
|
||||
|
||||
[[ "$OS" != "Windows_NT" ]] && [[ -f /etc/profile ]] && source /etc/profile
|
||||
|
||||
if [[ -z "$GOPATH" ]]
|
||||
|
|
Loading…
Reference in New Issue