This is an old revision of the document!
fish shell
To accept the autosuggestion
bash export
just do set -x var value
-x means –export
-e means –erase
from bash to fish
VAR=value ⇒ set var value
[ … ] ⇒test …
$( … ) ⇒ ( … )
export ⇒ set -x
if doesn't need then and ends with end
Change || to ; or and && to ; and