Skip to content

Instantly share code, notes, and snippets.

@mfarr
Created April 22, 2017 15:06
Show Gist options
  • Save mfarr/39f26c65ed47177771f09d7e50745948 to your computer and use it in GitHub Desktop.
Save mfarr/39f26c65ed47177771f09d7e50745948 to your computer and use it in GitHub Desktop.
open shell function
# emulates the macos open command
open() {
xdg-open "$1" &> /dev/null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment