create fish_greeting.fish

This commit is contained in:
2024-05-29 14:57:09 +02:00
committed by GitHub
parent f5691009de
commit b990763376

23
fish_greeting.fish Normal file
View File

@@ -0,0 +1,23 @@
function fish_greeting
# only print longcat in kitty
if set -q KITTY_WINDOW_ID
switch (random 1 8)
case 1
longcat
case 2
longcat -H
case 3
longcat -R
case 4
longcat -r
case 5
longcat -H -r
case 6
longcat -H -R
case 7
longcat -R -r
case 8
longcat -R -H -r
end
end
end