π π‘ π’
Be greeted by a selection of random marine creatures on every new Fish shell.
fisher install joallard/under-the-sea
This will add the function fishes to your shell, and if your terminal session
supports UTF-8, will set fish_greeting to the output of fishes.
Copy the following to your ~/.config/fish/functions/fishes.fish:
function fishes
set -l animal_marine π³ π π¬ π¦ π π π‘ π¦ π π # πͺΈ
set -l animal_reptile πΈ π’
set -l food_marine π¦ π¦ π¦ π¦
set fishes $animal_marine $animal_reptile $food_marine
echo (random choice $fishes; random choice $fishes; random choice $fishes)
endThen, at the top of your ~/.config/fish/config.fish, place:
if string match -qir '.*\.utf-?8' -- $LANG $LC_CTYPE
set fish_greeting (fishes)
endOn starting a new shell, you will be greeted by some fishes!
