Registry / utility / riywo-loginshell

riywo-loginshell

JSON →
library0.0.0-20200815045211-7d26008be1abgogounverified

A Go library to retrieve the login shell of the current user.

go get github.com/riywo/loginshell
INSTALL
IMPORT
SIG · RIYWO-LOGINSHELL
R
riywo-loginshell
utilitygov0.0.0-20200815045211-7d26008be1ab
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

loginshell
github.com/riywo/loginshell

Gets the current user's login shell path.

package main import ( "fmt" "github.com/riywo/loginshell" ) func main() { shell, err := loginshell.Shell() if err != nil { panic(err) } fmt.Println("Login shell:", shell) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200815045211-7d26008be1ablatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
riywo-loginshell — go get riywo-loginshell · libregistry