mirror of
https://github.com/coder/coder.git
synced 2026-06-03 21:18:24 +00:00
d72c45e483
Co-authored-by: G r e y <grey@coder.com>
9 lines
151 B
Go
9 lines
151 B
Go
package usershell
|
|
|
|
import "os"
|
|
|
|
// Get returns the $SHELL environment variable.
|
|
func Get(_ string) (string, error) {
|
|
return os.Getenv("SHELL"), nil
|
|
}
|