Difference between revisions of "Fish shell"
Jump to navigation
Jump to search
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
[[wikipedia:fish shell]] (2005) ([[Axel Liljencrantz]]) | [[wikipedia:fish shell]] (2005) ([[Axel Liljencrantz]]) | ||
+ | * https://github.com/fish-shell/fish-shel | ||
− | * [[Search as you type]] | + | * [[Search as you type]], [[autosuggestions]] it <code>→</code> (right arrow) or <code>Control+F</code>. |
+ | To disable it: <code>[[set -g]] fish_autosuggestion_enabled 0</code> | ||
Installation | Installation | ||
Line 8: | Line 10: | ||
* Ubuntu: <code>[[apt install]] fish</code> | * Ubuntu: <code>[[apt install]] fish</code> | ||
− | Configuration: [[~/.config/fish/config.fish]] | + | * Configuration: |
+ | ** <code>[[~/.config/fish/config.fish]]</code> | ||
+ | ** <code>[[~/.config/fish/functions/fish_prompt.fish]]</code> | ||
+ | |||
fish | fish | ||
Welcome to fish, the friendly interactive shell | Welcome to fish, the friendly interactive shell | ||
Type `help` for instructions on how to use fish | Type `help` for instructions on how to use fish | ||
+ | |||
+ | [[fish vi key bindings]] | ||
+ | |||
+ | [[fish_postexec]] | ||
+ | |||
+ | [[set --export]] --prepend [[PATH]] "/Users/user/.rd/bin" | ||
+ | |||
+ | while CONDITION; COMMANDS; end | ||
== Related terms == | == Related terms == | ||
* [[KVM]]: <code>[[guestfish]]</code> | * [[KVM]]: <code>[[guestfish]]</code> | ||
+ | * https://fishshell.com/docs/current/completions.html | ||
+ | * [[backtick]] not supported, fish uses [[parentheses]] for subcommands. | ||
+ | * [[oh-my-fish]] | ||
+ | * [[fig]] | ||
== See also == | == See also == |
Latest revision as of 09:59, 1 April 2024
wikipedia:fish shell (2005) (Axel Liljencrantz)
- Search as you type, autosuggestions it
→
(right arrow) orControl+F
.
To disable it: set -g fish_autosuggestion_enabled 0
Installation
- MacOS:
brew install fish
- Ubuntu:
apt install fish
fish Welcome to fish, the friendly interactive shell Type `help` for instructions on how to use fish
fish vi key bindings
fish_postexec
set --export --prepend PATH "/Users/user/.rd/bin"
while CONDITION; COMMANDS; end
Related terms[edit]
- KVM:
guestfish
- https://fishshell.com/docs/current/completions.html
- backtick not supported, fish uses parentheses for subcommands.
- oh-my-fish
- fig
See also[edit]
Advertising: