mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
fixed bug with custom-cowsay
This commit is contained in:
@@ -68,10 +68,10 @@ do
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
SIndex=$(( RANDOM % ${#sentences[@]} ))
|
||||
index=$(( RANDOM % ${#cows[@]} ))
|
||||
cow="/usr/share/cowsay/cows/${cows[index]}.cow"
|
||||
cowsay -f "$cow" "${sentences[SIndex]}"
|
||||
SIndex=$(( RANDOM % ''${#sentences[@]} ))
|
||||
index=$(( RANDOM % ''${#cows[@]} ))
|
||||
#cow="/usr/share/cowsay/cows/''${cows[index]}.cow"
|
||||
cowsay -f "''${cows[index]}" "''${sentences[SIndex]}"
|
||||
sleep 10
|
||||
clear
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user