Move zsh and aliases to conf.d style configs
This commit is contained in:
12
zsh.d/git.zsh
Normal file
12
zsh.d/git.zsh
Normal file
@@ -0,0 +1,12 @@
|
||||
# git
|
||||
if (( $+commands[git] )); then
|
||||
git_chpwd_hook() {
|
||||
if [[ -d ".git" ]]; then
|
||||
git status
|
||||
fi
|
||||
}
|
||||
|
||||
chpwd_functions+=( git_chpwd_hook )
|
||||
|
||||
git_chpwd_hook
|
||||
fi
|
Reference in New Issue
Block a user