Skip to content

Instantly share code, notes, and snippets.

@pielgrzym
Created November 2, 2012 19:36
Show Gist options
  • Save pielgrzym/4003848 to your computer and use it in GitHub Desktop.
Save pielgrzym/4003848 to your computer and use it in GitHub Desktop.
#!/bin/zsh
i=1
sp="/-\|"
echo -n ' '
while true
do
printf "\b${sp:i++%${#sp}:1}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment