Skip to content

A golang library to get the login shell of the current user.

License

Notifications You must be signed in to change notification settings

riywo/loginshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loginshell

A golang library to get the login shell of the current user.

Supporting GOOS

Need PR for the other OS!

  • Plan9
  • Linux
  • OpenBSD
  • FreeBSD
  • Android (termux)
  • Darwin
  • Windows

Usage

package main

import (
    "github.com/riywo/loginshell"
    "fmt"
)

func main() {
    shell, err := loginshell.Shell()
    if err != nil { panic(err) }
    fmt.Printf("%s", shell)
}

License

MIT

Author

Ryosuke IWANAGA a.k.a. riywo

About

A golang library to get the login shell of the current user.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages