Created
November 22, 2017 06:25
-
-
Save rosuH/5c4c6f38847f68915b413545e8138b3a to your computer and use it in GitHub Desktop.
Open files in shell
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
#!/bin/bash | |
var="$1" | |
xdg-open $(locate $var) > 2& |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment