+4
-1
@@ -148,7 +148,7 @@ var setupCmd = &cobra.Command{
|
||||
|
||||
var shellName string
|
||||
if len(args) > 0 {
|
||||
shellName = args[0]
|
||||
shellName = filepath.Base(args[0])
|
||||
} else {
|
||||
shellPath := os.Getenv("SHELL")
|
||||
shellName = filepath.Base(shellPath)
|
||||
@@ -208,6 +208,9 @@ version = 1
|
||||
# override shell: "bash", "zsh", "fish", keep empty for auto detection
|
||||
shell = ""
|
||||
|
||||
# run the selected shell as a login shell
|
||||
shell-login = false
|
||||
|
||||
# startup mode: "last", "spec", "history"
|
||||
# "last" = remember last mode used
|
||||
mode = "last"
|
||||
|
||||
Reference in New Issue
Block a user