We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f885c7 commit ef45b8eCopy full SHA for ef45b8e
agent/usershell/usershell_darwin.go
@@ -3,8 +3,6 @@ package usershell
3
import "os"
4
5
// Get returns the $SHELL environment variable.
6
-// TODO: This should use "dscl" to fetch the proper value. See:
7
-// https://stackoverflow.com/questions/16375519/how-to-get-the-default-shell
8
func Get(username string) (string, error) {
9
return os.Getenv("SHELL"), nil
10
}
0 commit comments