Created
May 16, 2015 18:45
-
-
Save dylanmei/1c94c11276ad53cd856a to your computer and use it in GitHub Desktop.
Watch alias for OSX
This file contains 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
watch_for_osx() { | |
while : | |
output=`eval "$@"` | |
do clear; | |
echo $output | |
sleep 5 | |
done | |
} | |
alias watch=watch_for_osx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment