fish

fish is the friendly interactive shell.

Source .env file

eval (awk '{print "export "$0}' <.env)

History recall

  • Alt + S recalls the previous command line with the sudo prefix toggled. Replaces sudo !! in other shells.
  • Up recalls the previous commands in order. Replaces !! and !-n in other shells.
  • Alt + Up (or Alt + .) cycles through individual arguments in reverse chronological order. Replaces !$ and !!:n.
    • Type any part of the history and press Alt + Up to complete arguments further up the history.

References


Backlinks