Various small additions
This commit is contained in:
parent
fe3c0fb5d5
commit
05f6bf7007
11 changed files with 208 additions and 5 deletions
10
modules/localrc/init
Executable file
10
modules/localrc/init
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/zsh
|
||||
|
||||
load_localrc() {
|
||||
local dir=${1:-$PWD}
|
||||
if [[ -f $dir/.lzshrc ]]; then source $dir/.lzshrc
|
||||
elif [[ "$dir" != "/" ]]; then load_localrc ${dir:h}
|
||||
fi
|
||||
}
|
||||
|
||||
chpwd_hook load_localrc
|
Loading…
Add table
Add a link
Reference in a new issue