migrate git completion setup to alias file

This commit is contained in:
2026-10-29 10:10:53 -06:00
parent f69d4376d1
commit a2acf44f91
2 changed files with 4 additions and 5 deletions

View File

@@ -34,6 +34,10 @@ alias chgrp='chgrp --preserve-root'
## apps
alias g='git'
# enable tab completion for 'g' by marking as alias for 'git'
if type _git &> /dev/null; then
complete -o default -o nospace -F _git g;
fi
alias bat='batcat'
alias bathelp='bat --plain --language=help'