Skip to content

Instantly share code, notes, and snippets.

@aarmn
Created December 29, 2021 23:22
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 aarmn/3322d27dceea18db2516be3bdeba9bbe to your computer and use it in GitHub Desktop.
Save aarmn/3322d27dceea18db2516be3bdeba9bbe to your computer and use it in GitHub Desktop.
Opening a file in the default program from terminal in diff OSes
windows: ii (alias to -> Invoke-Item)
mac: open
linux: xdg-open (freedesktop foundation tool)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment