rename 'open-file' to 'open'
This commit is contained in:
1 parent
07c16fede0
commit
96f35e986d
6 files changed
+29
-30
No files matched your search
@@ -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"`}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user