my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
364 B

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