parent
97cc5f78a8
commit
79ca4cfe9d
2
doc.go
2
doc.go
@ -57,7 +57,7 @@ The following options can be used to customize the behavior of lf:
|
||||
filesep string (default ":")
|
||||
ifs string (default "") (not exported if empty)
|
||||
previewer string (default "") (not filtered if empty)
|
||||
shell string (default "$SHELL")
|
||||
shell string (default "/bin/sh")
|
||||
showinfo string (default "none")
|
||||
sortby string (default "natural")
|
||||
timefmt string (default "Mon Jan _2 15:04:05 2006")
|
||||
|
@ -61,7 +61,7 @@ The following options can be used to customize the behavior of lf:
|
||||
filesep string (default ":")
|
||||
ifs string (default "") (not exported if empty)
|
||||
previewer string (default "") (not filtered if empty)
|
||||
shell string (default "$SHELL")
|
||||
shell string (default "/bin/sh")
|
||||
showinfo string (default "none")
|
||||
sortby string (default "natural")
|
||||
timefmt string (default "Mon Jan _2 15:04:05 2006")
|
||||
|
@ -5,12 +5,7 @@
|
||||
#set nopreview
|
||||
#set showinfo size
|
||||
|
||||
# set shell interpreter accordingly
|
||||
# Some systems use more efficient shell implementations for non-interactive use
|
||||
# (e.g. `dash`) mapped to `/bin/sh`. By setting this option here we can tell
|
||||
# `lf` to use this implementation for shell commands. This can decrease the
|
||||
# startup times of commands but may also change the syntax that you are used to
|
||||
# (e.g. non-POSIX features provided by your regular shell).
|
||||
# interpreter for shell commands (needs to be POSIX compatible)
|
||||
#set shell /bin/sh
|
||||
|
||||
# set internal field seperator (IFS) to ':'
|
||||
|
1
main.go
1
main.go
@ -15,7 +15,6 @@ var (
|
||||
envHome = os.Getenv("HOME")
|
||||
envHost = os.Getenv("HOSTNAME")
|
||||
envPath = os.Getenv("PATH")
|
||||
envShell = os.Getenv("SHELL")
|
||||
envConfig = os.Getenv("XDG_CONFIG_HOME")
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user