enable bash completion for the g alias
This commit is contained in:
parent
5f07ee6209
commit
bc76b3310c
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,14 @@
|
||||||
{
|
{
|
||||||
"command": "eval \"$(SHELL=/bin/sh lesspipe.sh)\"",
|
"command": "eval \"$(SHELL=/bin/sh lesspipe.sh)\"",
|
||||||
"description": "Make less more friendly for non-text input files"
|
"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": [
|
"sessionPaths": [
|
||||||
|
|
Loading…
Reference in a new issue