cd - β Enter to previous directorycd -- β Enter to user home directoryecho $status β Display last command exit statusecho "I'm here:" (pwd) β Evaluate command in stringecho $version β Display installed version of Fish Shellfunctions β Display all available functions (not commands)for x in (seq 10); echo $x; end; β ???vared $rrr β Editing variable in interactive mode docabbr -a -- - 'cd -' β Create shortcut β-β which will run βcd -βabbr -a -- "!!" 'eval command $history[1]'fish_config browse β Open shell configuration in browser πͺIn script:
echo $_ β Display the name of the currently running commandA long time ago I wrote an article about Fish (in polish) β Fish β shell przyjazny kaΕΌdemu