Add completion script for g
function
This commit is contained in:
parent
efa6bcf778
commit
de5746401c
2
rcrc
2
rcrc
|
@ -1,4 +1,4 @@
|
||||||
DOTFILES_DIRS="$HOME/dotfiles-local $HOME/dotfiles"
|
DOTFILES_DIRS="$HOME/dotfiles-local $HOME/dotfiles"
|
||||||
EXCLUDES="install.sh README.md"
|
EXCLUDES="install.sh README.md"
|
||||||
SYMLINK_DIRS="composer bin functions configs"
|
SYMLINK_DIRS="completion-scripts composer bin functions configs"
|
||||||
TAGS="git npm php tmux vim zsh"
|
TAGS="git npm php tmux vim 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
|
# 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
|
# completion; use cache if updated within 24h
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
|
|
Loading…
Reference in a new issue