diff --git a/hosts/sparrow.json b/hosts/sparrow.json index 579bad1..7780ad1 100644 --- a/hosts/sparrow.json +++ b/hosts/sparrow.json @@ -14,6 +14,14 @@ { "command": "eval \"$(SHELL=/bin/sh lesspipe.sh)\"", "description": "Make less more friendly for non-text input files" + }, + { + "command": "source /run/current-system/sw/share/bash-completion/completions/git", + "description": "Enable bash completion for g" + }, + { + "command": "complete -o bashdefault -o default -o nospace -F __git_wrap__git_main g", + "description": "Enable bash completion for the g alias" } ], "sessionPaths": [