]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/fig/fig.plugin.zsh
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / fig / fig.plugin.zsh
1 if ! (( $+commands[fig] )); then
2   return
3 fi
4
5 # If the completion file doesn't exist yet, we need to autoload it and
6 # bind it to `fig`. Otherwise, compinit will have already done that
7 if [[ ! -f "$ZSH_CACHE_DIR/completions/_fig" ]]; then
8   autoload -Uz _fig
9   typeset -g -A _comps
10   _comps[fig]=_fig
11 fi
12
13 fig completion zsh >| "$ZSH_CACHE_DIR/completions/_fig" &|