summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-04 22:21:03 +1000
committerGitHub <noreply@github.com>2018-09-04 22:21:03 +1000
commit59003c8bbf1b519b66c082a70362c6d70d51401d (patch)
tree36ba213b7fccce79a7d997dfe6ec98f5ebe33983
parenta81f8b84e319ae874d9dec5237564ea555fc8398 (diff)
parent33ea093d88200bde0a001122e8eefba2863286e4 (diff)
Merge pull request #253 from jesseduffield/hotfix/238-xdg-open-2
Update xdg-open command
-rw-r--r--docs/Config.md2
-rw-r--r--pkg/config/config_linux.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/Config.md b/docs/Config.md
index d428603bc..eb1c65f9a 100644
--- a/docs/Config.md
+++ b/docs/Config.md
@@ -33,7 +33,7 @@
```
os:
- openCommand: 'bash -c \"xdg-open {{filename}} &>/dev/null &\"'
+ openCommand: 'sh -c "xdg-open {{filename}} >/dev/null"'
```
### OSX:
diff --git a/pkg/config/config_linux.go b/pkg/config/config_linux.go
index ef30ac7d2..90e922416 100644
--- a/pkg/config/config_linux.go
+++ b/pkg/config/config_linux.go
@@ -4,5 +4,5 @@ package config
func GetPlatformDefaultConfig() []byte {
return []byte(
`os:
- openCommand: 'bash -c \"xdg-open {{filename}} &>/dev/null &\"'`)
+ openCommand: 'sh -c "xdg-open {{filename}} >/dev/null"'`)
}