Skip to content

Instantly share code, notes, and snippets.

@steve-ross
Created April 18, 2016 15:11
Show Gist options
  • Save steve-ross/a7171b8601e9b8dc37e6134c0da7eafa to your computer and use it in GitHub Desktop.
Save steve-ross/a7171b8601e9b8dc37e6134c0da7eafa 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