Add completion script for g
function
This commit is contained in:
parent
efa6bcf778
commit
de5746401c
3 changed files with 5 additions and 2 deletions
tag-zsh/zsh
3
tag-zsh/zsh/completion-scripts/_g
Normal file
3
tag-zsh/zsh/completion-scripts/_g
Normal file
|
@ -0,0 +1,3 @@
|
|||
#compdef g
|
||||
compdef g=git
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# load our own completion functions
|
||||
fpath=(~/.zsh/completion /usr/local/share/zsh/site-functions $fpath)
|
||||
fpath=(~/.zsh/completion-scripts /usr/local/share/zsh/site-functions $fpath)
|
||||
|
||||
# completion; use cache if updated within 24h
|
||||
autoload -Uz compinit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue