Artisan command completion for the fish shell
To manually install the files from the completions and functions directories on your machine, you may run these commands:
curl -L --create-dirs -o ~/.config/fish/completions/artisan.fish https://github.com/adriaanzon/fish-artisan-completion/raw/master/completions/artisan.fish
curl -L --create-dirs -o ~/.config/fish/completions/php.fish https://github.com/adriaanzon/fish-artisan-completion/raw/master/completions/php.fish
curl -L --create-dirs -o ~/.config/fish/functions/artisan.fish https://github.com/adriaanzon/fish-artisan-completion/raw/master/functions/artisan.fish
If you have one, you can use a plugin manager. If you don't have a plugin manager and you're looking for something simple, you may want to try this.
The completion works on both php artisan
and ./artisan
. It also works with
the artisan
alias provided with this plugin.