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