Created
October 16, 2014 08:52
-
-
Save alicraigmile/1a8dc22828e573f3eead to your computer and use it in GitHub Desktop.
Launch TextEdit to edit documents graphically (work on MacOS X)
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
# Launch TextEdit to edit documents graphically | |
gedit() { | |
osascript -e "tell application \"TextEdit\" to open POSIX file \"$1\"" -e "tell application \"TextEdit\" to activate" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment