rename 'open-file' to 'open'

This commit is contained in:
Gokcehan committed 2018-06-28 21:20:43 +03:00
1 parent 07c16fede0
commit 96f35e986d
6 files changed
+29 -30

No files matched your search

+2 -2
View File
@@ -118,9 +118,9 @@ func setDefaults() {
}
if runtime.GOOS == "darwin" {
gOpts.cmds["open-file"] = &execExpr{"&", `open "$f"`}
gOpts.cmds["open"] = &execExpr{"&", `open "$f"`}
} else {
gOpts.cmds["open-file"] = &execExpr{"&", `xdg-open "$f"`}
gOpts.cmds["open"] = &execExpr{"&", `xdg-open "$f"`}
}
}