Difference between revisions of "Fish shell"
Jump to navigation
Jump to search
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
[[wikipedia:fish shell]] (2005) ([[Axel Liljencrantz]]) | [[wikipedia:fish shell]] (2005) ([[Axel Liljencrantz]]) | ||
+ | * https://github.com/fish-shell/fish-shell | ||
− | * [[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> | ||
− | * <code>[[apt install]] fish</code> | + | Installation |
+ | * MacOS: <code>[[brew install fish]]</code> | ||
+ | * Ubuntu: <code>[[apt install]] fish</code> | ||
+ | * Configuration: | ||
+ | ** <code>[[~/.config/fish/config.fish]]</code> | ||
+ | ** <code>[[~/.config/fish/functions/fish_prompt.fish]]</code> | ||
− | + | ||
+ | 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. | ||
+ | * <code>[[oh-my-fish]]</code> | ||
+ | * <code>[[fig]]</code> | ||
+ | * [[Zoxide]] | ||
+ | * [[fish (animal)]] | ||
+ | * <code>[[chsh]]</code> | ||
+ | |||
+ | == Activities == | ||
+ | * [[How to run automatically fish on your terminal]] | ||
+ | * [[Make fish your default shell in macOS]] | ||
== See also == | == See also == | ||
+ | * {{fish shell}} | ||
* {{Shells}} | * {{Shells}} | ||
+ | [[Category:Unix shells]] | ||
[[Category: Computing]] | [[Category: Computing]] |
Latest revision as of 11:17, 22 August 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
- Zoxide
- fish (animal)
chsh
Activities[edit]
See also[edit]
- Fish shell,
fish_config, fish vi key bindings, set --export
, Search as you type, Fisher,~/.config/fish/config.fish, fish_add_path
- Shell: Fish shell,
sh
,Bash
,ksh
,zsh
,ash
, PowerShell (Windows),/usr/bin/env
,.hushlogin
,dash
,tcsh
, Shell redirection,dquote, $SHELL
, Google Cloud Shell, AWS CloudShell, explainshell.com, vmware_vm_shell, Nushell, Fig.io, direnv
Advertising: