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

@@ -28,8 +28,3 @@ shopt -s nocaseglob; # case-insensitive globbing
shopt -s histappend; # append to bash history file
shopt -s cdspell; # autocorrect typos in path names when cd'ing
shopt -s checkwinsize # update col/line values on each command
# 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