Skip to content

🐑 🦐 🐠 Greeting fishes for your prompt in Fish shell 🐸 🐟 🐒

Notifications You must be signed in to change notification settings

joallard/under-the-sea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

under-the-sea

🐠 🐑 🐒

Be greeted by a selection of random marine creatures on every new Fish shell.

Screenshot

Install

Fisher

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.

Manual

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)
end

Then, at the top of your ~/.config/fish/config.fish, place:

if string match -qir '.*\.utf-?8' -- $LANG $LC_CTYPE
    set fish_greeting (fishes)
end

On starting a new shell, you will be greeted by some fishes!

About

🐑 🦐 🐠 Greeting fishes for your prompt in Fish shell 🐸 🐟 🐒

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages