mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
move sail fish alias to a real bash script.
and use docker-compose as fallback
This commit is contained in:
parent
21318127a3
commit
afdfe37802
2 changed files with 9 additions and 3 deletions
9
scripts/sail
Executable file
9
scripts/sail
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
CMD=vendor/bin/sail
|
||||
|
||||
if [ ! -x "${CMD}" ]; then
|
||||
CMD=docker-compose
|
||||
fi
|
||||
|
||||
${CMD} $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue