Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectShell ¶
func DetectShell() string
func FormatSystemInfo ¶
func FormatSystemInfo(info SystemInfo) string
func GetCurrentShell ¶
func GetShellCommand ¶
Types ¶
type ShellPrompt ¶
type SystemInfo ¶
type SystemInfo struct { OS string Hostname string Platform string PlatformFamily string PlatformVersion string CurrentShell string OperatingSystem string Architecture string }
func GetSystemInfo ¶
func GetSystemInfo() SystemInfo
Click to show internal directories.
Click to hide internal directories.