Skip to content

Instantly share code, notes, and snippets.

@steve-ross
Last active May 17, 2016 17:50
Show Gist options
  • Save steve-ross/8f735c00604ff7daf3f7420f3ba784de to your computer and use it in GitHub Desktop.
Save steve-ross/8f735c00604ff7daf3f7420f3ba784de to your computer and use it in GitHub Desktop.
n98-magerun completions for fish
# Installation:
# This assumes that "n98-magerun.phar" is in your path!
# Copy to ~/.config/fish/completions/n98-magerun.phar.fish
# open new or restart existing shell session
for cmd in (n98-magerun.phar --raw --no-ansi list | sed "s/[[:space:]].*//g");
complete -f -c n98-magerun.phar -a $cmd;
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment