====== fish shell ====== == cheatsheet == ^ key bind ^ action ^ |''Ctrl-w''|delete backward by word| |''Alt-d''|delete forward by word| == To accept the autosuggestion == hit → or ControlF. == 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