blob: 73d1f534dce19425f02105ae8e8192aae86bb838 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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 customize your greeting function by changing ~/.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 customize your greeting function by changing ~/.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"
}
|