Skip to content

Instantly share code, notes, and snippets.

@prirai
Created March 4, 2025 19:16
Show Gist options
  • Select an option

  • Save prirai/77f770796649d779fe6339b68b6591cb to your computer and use it in GitHub Desktop.

Select an option

Save prirai/77f770796649d779fe6339b68b6591cb to your computer and use it in GitHub Desktop.
My Fish configuration
if status is-interactive
end
function fish_greeting
echo -n "Hello friend! "
set hour (date +%H)
if test $hour -lt 4
echo -n πŸŒƒ
else if test $hour -lt 12
echo -n πŸŒ…
else if test $hour -lt 18
echo -n β˜€
else
echo -n πŸŒ™
end
echo (set_color yellow; date +%T; set_color normal)
echo
echo (set_color -i bryellow ; fortune; set_color normal)
echo
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment