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"'`) }