Move zsh and aliases to conf.d style configs

This commit is contained in:
2023-03-30 15:46:14 -05:00
parent f3e303fd93
commit 2cbf3d6e55
21 changed files with 181 additions and 188 deletions

12
zsh.d/git.zsh Normal file
View 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