diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-04 22:21:03 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-04 22:21:03 +1000 |
commit | 59003c8bbf1b519b66c082a70362c6d70d51401d (patch) | |
tree | 36ba213b7fccce79a7d997dfe6ec98f5ebe33983 | |
parent | a81f8b84e319ae874d9dec5237564ea555fc8398 (diff) | |
parent | 33ea093d88200bde0a001122e8eefba2863286e4 (diff) |
Merge pull request #253 from jesseduffield/hotfix/238-xdg-open-2
Update xdg-open command
-rw-r--r-- | docs/Config.md | 2 | ||||
-rw-r--r-- | pkg/config/config_linux.go | 2 |
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"'`) } |