Skip to content

Instantly share code, notes, and snippets.

@wavebeem
Created April 30, 2016 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wavebeem/943dda94548aad19c2b0df5c30e88b71 to your computer and use it in GitHub Desktop.
Save wavebeem/943dda94548aad19c2b0df5c30e88b71 to your computer and use it in GitHub Desktop.
Custom fish prompt of random emoji every time
function fish_prompt
set E
set E $E \U1F51C # soon
set E $E \U1F354 # hamburger
set E $E \U1F4A9 # poo
set E $E \U1F47A # tengu
set E $E \U1F349 # watermelon
set E $E \U1F300 # cyclone
set E $E \U1F37A # beer
set E $E \U1F382 # cake
set E $E \U1F369 # donut
set E $E \U1F344 # mushroom
set E $E \U2615 # coffee
set E $E \U1F35C # ramen
set E $E \U1F363 # sushi
set E $E \U1F36A # cookie
set E $E \U1F36B # chocolate
set E $E \U1F371 # bento
set E $E \U1F411 # sheep
set E $E \U1F525 # fire
set n (math (random)%(count $E))
set m (math $n+1)
set symbol $E[$m]
set_color normal
echo
echo -n $symbol
echo -n " "
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment