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

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

under-the-sea

🐠 🐑 🐒

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

Screenshot

Install

At the top of your ~/.config/fish/config.fish,

$EDITOR ~/.config/fish/config.fish

place the following:

if string match -qir '.*\.utf-?8' -- $LANG $LC_CTYPE
    set -l animal_marine 🐳 πŸ‹ 🐬 🦭  🐟 🐠 🐑 🦈 πŸ™ 🐚 # πŸͺΈ
    set -l animal_reptile 🐸 🐒
    set -l food_marine πŸ¦€ 🦞 🦐 πŸ¦‘

    set fishes $animal_marine $animal_reptile $food_marine

    function fishes_greeting
      echo (random choice $fishes; random choice $fishes; random choice $fishes)
    end

    set fish_greeting (fishes_greeting)
end

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

Development: Todo

  • Make it easier to install (split into a separate file, make it compatible with Fisher)

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages