Bash #9 - Fish shell on WSL2/Ubuntu

Опубликовано: 16 Февраль 2022
на канале: itvraag
5,116
90

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
https://itvraag.nl

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)
6:41 fish aliases rc file (config.fish)

Related video:
APT package manager:    • Bash #6 - Package manager APT (Debian...  
WSL2:    • WSL2 - Linux shells inside Windows Te...  
Windows 11 Terminal PRO tips:    • Maximize productivity in Windows 11 T...  
oh-my-zsh:    • Make your Linux CLI look like a PRO w...  

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
grep -i "installed" /var/log/dpkg.log | wc -l
fish_config


Смотрите видео Bash #9 - Fish shell on WSL2/Ubuntu онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь itvraag 16 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,116 раз и оно понравилось 90 людям.