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-h
for terminal shortcutsp-h
for Pacman commandsa-h
for Aura commandsy-h
for Aura commands
Instructions
- Modify
config.fish
andfunctions_and_abbreviations.fish
to your likings - Add anything to your PATH with
fish_add_path
fisher update
to update functions
Dependencies and recommendations
- OpenDoas
- wl-clipboard for
pbcopy
/pbpaste
on Wayland - Xclip for
pbcopy
/pbpaste
on Xorg - notify-send for
done
- Aura (aura-bin) and/or Yay
- Eza for
ls
andtree
- 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)
kioclient
andktrash6
from 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