mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
adding fish/functions/sail.fish
This commit is contained in:
parent
d83007e0d6
commit
3644271f7d
1 changed files with 4 additions and 0 deletions
4
fish/functions/sail.fish
Normal file
4
fish/functions/sail.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
function sail --wraps='[ -f sail ] && sh sail || sh vendor/bin/sail' --description 'alias sail=[ -f sail ] && sh sail || sh vendor/bin/sail'
|
||||||
|
[ -f sail ] && sh sail || sh vendor/bin/sail $argv
|
||||||
|
|
||||||
|
end
|
||||||
Loading…
Add table
Add a link
Reference in a new issue