Created
January 20, 2011 05:25
-
-
Save roopeshvaddepally/787461 to your computer and use it in GitHub Desktop.
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
# works only on ubuntu, and probably with gnome desktop installed, it is similar to | |
# mac's `open` command. | |
# usage: op notes.txt # opens the txt file with it's default app | |
# usage: op . # open current directory in file explorer, default nautilus mostly | |
# | |
# Basically, this pushes the output from the opened app to not show up on terminal | |
function op { | |
eval gnome-open \"$@\" &> /dev/null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment