Last active
December 26, 2019 07:52
-
-
Save florida/1839b047792b2d58f208a0913d4b2a6e to your computer and use it in GitHub Desktop.
Fish Rainbow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fish | |
function fish_greeting | |
for i in (seq 7) | |
for i in (seq (tput cols)) | |
printf █ | |
end | |
echo | |
end | lolcat --freq=0.8 --spread (tput cols) | |
end | |
# bash | |
function greeting { | |
for i in $(seq 7); do | |
for i in $(seq $(tput cols)); do | |
printf █ | |
done | |
done | lolcat --freq=0.8 --spread $(tput cols) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment