Skip to content

Instantly share code, notes, and snippets.

@dylanmei
Created May 16, 2015 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dylanmei/1c94c11276ad53cd856a to your computer and use it in GitHub Desktop.
Save dylanmei/1c94c11276ad53cd856a to your computer and use it in GitHub Desktop.
Watch alias for OSX
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