Export environment variable # bash export AWS_PROFILE=myproj # fish set -x AWS_PROFILE myproj Process substitution # bash diff <(prettier hoge) <(prettier fuga) # fish (https://fishshell.com/docs/current/cmds/psub.html) diff (prettier hoge | psub) (prettier fuga | psub)