Skip to content
Tak Tran edited this page Jan 22, 2019 · 6 revisions

Bash -> Fish

Environment variables

bash

export HELLO=world

fish

set -x HELLO world

Combining

&& -> ; and

eg, ls; and pwd

Run script

bash

${SOME_PATH}/script.js

fish

eval "$SOME_PATH/script.js"
echo (heroku some_command)
curl https://something.com -H "Authorization: Bearer "(get-bearer-cmd)
# or
curl https://something.com -H "Authorization: Bearer "(get-bearer-cmd)""
Clone this wiki locally