shell

package
v2.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package shell returns the current user's shell across multiple platforms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentUserShell

func CurrentUserShell() (string, bool)

CurrentUserShell returns the current user's shell.

func DefaultShell

func DefaultShell() string

DefaultShell returns the default shell depending on runtime.GOOS.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL