Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! chore: replace todos with issues
  • Loading branch information
greyscaled committed Apr 19, 2022
commit ef45b8ed61e475efe86353b3bb550f6f0486b8fa
2 changes: 0 additions & 2 deletions agent/usershell/usershell_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package usershell
import "os"

// Get returns the $SHELL environment variable.
// TODO: This should use "dscl" to fetch the proper value. See:
// https://stackoverflow.com/questions/16375519/how-to-get-the-default-shell
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

func Get(username string) (string, error) {
return os.Getenv("SHELL"), nil
}