filmov
tv
Bash #9 - Fish shell on WSL2/Ubuntu

Показать описание
Today we’ll look at a Linux shell called fish, which stand for “friendly interactive shell” as an alternative shell to bash in Linux distros.
Syntax highlighting for errors, misspelled commands and options, mismatched parenthesis and quotes. The great thing about fish is that this is done while typing.
Using the manual page data, fish helps you by pressing the tab key to auto complete. Simply start typing and hit tab to get suggestions.
Inline search history: where you can start typing and then use the up and down arrow keys to select previous commands that started that way.
With auto suggestion it provides feedback based on the content of a directory or your history.
#terminal #linux #wsl #shell
Timestamp:
0:00 Intro
0:19 My setup & requirements
0:35 Fresh Ubuntu install in WSL2
0:50 Current shells
1:09 apt update & upgrade
1:19 apt install fish w3m
1:53 change shell to fish
2:21 fish demo (syntax highlight, auto complete/suggestion, tab)
3:15 fish brace expansion vs. numeric sequences
3:28 customize fish in WSL2 (fish_config)
Related video:
Used links and commands:
wsl -l -v
wsl --unregister ubuntu
wsl -l -v
wsl --install -d ubuntu
wsl -s ubuntu
echo $SHELL
cat /etc/shells
sudo apt update
sudo apt upgrade
sudo apt install fish
sudo apt install w3m
cat /etc/shells
fish
chsh -s /usr/bin/fish
fish_config
Syntax highlighting for errors, misspelled commands and options, mismatched parenthesis and quotes. The great thing about fish is that this is done while typing.
Using the manual page data, fish helps you by pressing the tab key to auto complete. Simply start typing and hit tab to get suggestions.
Inline search history: where you can start typing and then use the up and down arrow keys to select previous commands that started that way.
With auto suggestion it provides feedback based on the content of a directory or your history.
#terminal #linux #wsl #shell
Timestamp:
0:00 Intro
0:19 My setup & requirements
0:35 Fresh Ubuntu install in WSL2
0:50 Current shells
1:09 apt update & upgrade
1:19 apt install fish w3m
1:53 change shell to fish
2:21 fish demo (syntax highlight, auto complete/suggestion, tab)
3:15 fish brace expansion vs. numeric sequences
3:28 customize fish in WSL2 (fish_config)
Related video:
Used links and commands:
wsl -l -v
wsl --unregister ubuntu
wsl -l -v
wsl --install -d ubuntu
wsl -s ubuntu
echo $SHELL
cat /etc/shells
sudo apt update
sudo apt upgrade
sudo apt install fish
sudo apt install w3m
cat /etc/shells
fish
chsh -s /usr/bin/fish
fish_config
Комментарии