My fish config
___
___======____=---=)
/T \_--===)
[ \ (0) \~ \_-==)
\ / )J~~ \-=)
\\___/ )JJ~~~ \)
\_____/JJ~~~~~ \
/ \ , \J~~~~~ \
(-\)\=|\\\~~~~ L__
(\\) (\\\)_ \==__
\V \\\) ===_____ \\\\\\
\V) \_) \\\\JJ\J\)
/J\JT\JJJJ)
(JJJ| \UUU)
(UU)
Since zsh is not the fastest shell, I decided to give fish a try and started copying all the functions and acronyms I needed. In the end, I got carried away and it turned out even more than I had planned. However, the configuration is not overcomplicated and is designed for normal everyday use without any specialization. It is quite easy to understand it and change it to suit your needs.
This configuration has fisher installed and several add-ons that can be updated with it:
- bobthefish
- fzf
- Foreign Environment
- replay.fish
- to-fish
- fish-abbreviation-tips
- done
- extract
- fish-bd
- fish-async-prompt
- Sponge
- up
/functions contains fisher and all functions installed with it.
All functions and abbreviations I added are contained in functions_and_abbreviations.fish Some part I carried over from my zsh configuration. Some of them were added by me, others may have come across to you before on the Github.
Quick reference:
t-hfor terminal shortcutsp-hfor Pacman commandsa-hfor Aura commandsy-hfor Aura commands
Instructions
- Modify
config.fishandfunctions_and_abbreviations.fishto your likings - Add anything to your PATH with
fish_add_path fisher updateto update functions
Dependencies and recommendations
- OpenDoas
- wl-clipboard for
pbcopy/pbpasteon Wayland - Xclip for
pbcopy/pbpasteon Xorg - notify-send for
done - Aura (aura-bin) and/or Yay
- Eza for
lsandtree - Bat for
cat - Tere - a faster alternative to
cd + ls - Delta for
diff - fd for
find - ripgrep for
grep - Youtube-dl, but I recommend yt-dlp with a drop-in
- Gallery-dl
- Tor for torifying Youtube-dl and Gallery-dl
- Pandoc for
docx2md - Gist
- fzf
- Micro editor
- FFmpeg for
ffc - ImageMagick for
imc - (optional)
kioclientandktrash6from KDE for trash bin - (optional) ascii-image-converter
- (optional) Ddate, International Fixed Calender or Oblique Strategies for
fish_greeting - (optional) Pokemonsay or Ponysay for
fish_greeting - (optional) Lolcat for colorful help messages
Other
- fish logo
- fish logo for
fish_greeting - This config for Haiku OS
Описание
My fish shell config