-
Install Oh-my-ZSH
-
Clone this repo into ~/.oh-my-zsh/custom/plugins
git clone git@github.com:tsantef/oh-my-zsh.plugin.af.git ~/.oh-my-zsh/custom/plugins/af
-
add af to your plugins list in the .zshrc file
plugins=(git af)
-
Restart your shell or open a new terminal window.
-
Copy the _af file into ~/.zsh/completions
-
Add the completion path to the fpath setting in the ~/.zshrc
fpath=(~/.zsh/completions $fpath)
-
Add or verify that the complition initalization lines below are in the ~/.zshrc file
autoload -U compinit compinit
-
Restart your shell or open a new terminal window.