Archived
updated things
This commit is contained in:
1 parent
622a9a90aa
commit
df66b828b2
34 files changed
+303
-122
No files matched your search
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#! /usr/bin/env zsh
|
||||
|
||||
trap "tput cnorm; exit" 2
|
||||
VAR=$(( $RANDOM % 4 ))
|
||||
|
||||
random_say() {
|
||||
case $VAR in
|
||||
0)
|
||||
botsay
|
||||
;;
|
||||
1)
|
||||
cowsay
|
||||
;;
|
||||
2)
|
||||
buddhasay
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
clear
|
||||
fortune | random_say
|
||||
tput civis
|
||||
read
|
||||
tput cnorm
|
||||
Reference in new issue
Block a user