Created
August 3, 2012 00:54
-
-
Save kolber/3242816 to your computer and use it in GitHub Desktop.
Shell command to refresh Safari
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
# Shell command to refresh Safari | |
# 1. Hook this into a shortcut in your favourite text editor | |
# 2. Profit | |
osascript -e 'tell application "Safari"' -e 'tell its first document' -e 'set its URL to (get its URL)' -e 'end tell' -e 'activate' -e 'end tell' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment