Site Tools


fish

fish shell

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
fish.txt · Last modified: 2020-04-19 (external edit)