5 ms·
If you want to keep bash completion on working when having git aliased to g, try to add this line to your .bashrc: # Complete aliased git, too. complete -o
by nperson 13y ago
If you want to keep bash completion on working when having git aliased to g, try to add this line to your .bashrc:
# Complete aliased git, too.
complete -o default -o nospace -F _git g
- mythmon_ 13y agoI was curious about this, so I checked: zsh will preserve completions if you `alias g=git`.