enable bash completion for the g alias

This commit is contained in:
Dan Anglin 2024-09-12 06:11:31 +01:00
parent 5f07ee6209
commit bc76b3310c

View file

@ -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": [