diff options
Diffstat (limited to 'pokeshell.install')
-rw-r--r-- | pokeshell.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pokeshell.install b/pokeshell.install index a8fb59a0e3d5..592c94f971a4 100644 --- a/pokeshell.install +++ b/pokeshell.install @@ -2,10 +2,24 @@ post_install() { echo "put something like this at the end of your ~/.bashrc to get a random pokemon on every bash launch:" echo "" echo "cat /usr/share/pokeshell/\$((\$RANDOM % 151 + 1)).pokemon" + echo "" + echo "For fish shell you can add this function to your ~/.config/fish/functions/fish_prompt.fish:" + echo "" + echo "function fish_greeting" + echo " set r (random)" + echo " cat /usr/share/pokeshell/(math \"$r % 151 + 1\").pokemon" + echo "end" } post_upgrade() { echo "put something like this at the end of your ~/.bashrc to get a random pokemon on every bash launch:" echo "" echo "cat /usr/share/pokeshell/\$((\$RANDOM % 151 + 1)).pokemon" + echo "" + echo "For fish shell you can add this function to your ~/.config/fish/functions/fish_prompt.fish:" + echo "" + echo "function fish_greeting" + echo " set r (random)" + echo " cat /usr/share/pokeshell/(math \"$r % 151 + 1\").pokemon" + echo "end" } |