Add completion script for g function

This commit is contained in:
Oliver Davies 2020-03-03 00:51:30 +00:00
parent efa6bcf778
commit de5746401c
3 changed files with 5 additions and 2 deletions
tag-zsh/zsh
completion-scripts
configs/post

View file

@ -0,0 +1,3 @@
#compdef g
compdef g=git

View file

@ -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