fish
A shell.
#todo - are fish completions lazy-loaded?
# See also
# Notes
To avoid saving a command to fish_history, just start it with a space. Like in Bash.
# Tips
abbr -a to add abbreviations.
To accept the autosuggestion, hit → (right arrow) or Ctrl + F. To accept a single word of the autosuggestion, Alt + → (right arrow) or Alt + F.
Navigating folders:
dirhprints the historycdhdisplays a prompt to quickly navigate the historyprevdmoves backward through the history. It is bound to Alt+←nextdmoves forward through the history. It is bound to Alt+→
Use &| to pipe stdout and stderr to the next command. Use 2>| to pipe only stderr.
# Plugins
Install fisher, a plugin manager. It’s the only way to manage plugins. Don’t even touch oh-my-fish.
# Variables
To make environment
variables available to other programs (and shells) that fish launches, you should
export them. Like this:
| |
You should add this to config.fish to make it persistent. If you want to add something to PATH, you can use fish_add_path instead.