use relative path for default shell on unix

Related #58
This commit is contained in:
Gokcehan committed 2018-02-17 20:04:30 +03:00
1 parent 4ce6980098
commit 6c0f794a94
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ The following options can be used to customize the behavior of lf:
filesep string (default "\n")
ifs string (default '') (not exported if empty)
previewer string (default '') (not filtered if empty)
shell string (default '/bin/sh')
shell string (default 'sh')
sortby string (default 'natural')
timefmt string (default 'Mon Jan _2 15:04:05 2006')
ratios string (default '1:2:3')
+1 -1
View File
@@ -88,7 +88,7 @@ The following options can be used to customize the behavior of lf:
filesep string (default "\n")
ifs string (default '') (not exported if empty)
previewer string (default '') (not filtered if empty)
shell string (default '/bin/sh')
shell string (default 'sh')
sortby string (default 'natural')
timefmt string (default 'Mon Jan _2 15:04:05 2006')
ratios string (default '1:2:3')
+1 -1
View File
@@ -1,5 +1,5 @@
# interpreter for shell commands (needs to be POSIX compatible)
set shell /bin/sh
set shell sh
# set internal field separator (IFS) to "\n" for shell commands
# This is useful to automatically split file names in $fs and $fx properly
+1 -1
View File
@@ -12,7 +12,7 @@ import (
)
var (
gDefaultShell = "/bin/sh"
gDefaultShell = "sh"
gDefaultSocketProt = "unix"
gDefaultSocketPath string
)