Files
coder/agent/usershell/usershell_darwin.go
2022-04-19 12:16:57 -04:00

9 lines
158 B
Go

package usershell
import "os"
// Get returns the $SHELL environment variable.
func Get(username string) (string, error) {
return os.Getenv("SHELL"), nil
}