aboutsummaryrefslogblamecommitdiffstats
path: root/config/cmds.go
blob: 162089146117411620adf21677b599e072be6533 (plain) (tree)





















                                    
package config

import (
	"os"
)

func EditorCmds() []string {
	return []string{
		Compose.Editor,
		os.Getenv("EDITOR"),
		"vi",
		"nano",
	}
}

func PagerCmds() []string {
	return []string{
		Viewer.Pager,
		os.Getenv("PAGER"),
		"less -Rc",
	}
}