Various small additions

This commit is contained in:
Alexander Gehrke (crater2150) 2016-07-22 16:01:35 +02:00
parent fe3c0fb5d5
commit 05f6bf7007
11 changed files with 208 additions and 5 deletions

10
modules/localrc/init Executable file
View 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