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 2138ed1 commit 8121f20Copy full SHA for 8121f20
customizations/go.el
@@ -3,11 +3,11 @@
3
(path-from-shell (replace-regexp-in-string
4
"[ \t\n]*$"
5
""
6
- (shell-command-to-string "$SHELL --login -i -c 'echo $PATH'")))
+ (shell-command-to-string "$SHELL --login -c 'echo $PATH'")))
7
(go-path-from-shell (replace-regexp-in-string
8
9
10
- (shell-command-to-string "$SHELL --login -i -c 'echo $GOPATH'"))))
+ (shell-command-to-string "$SHELL --login -c 'echo $GOPATH'"))))
11
(setenv "PATH" path-from-shell)
12
(setenv "GOPATH" go-path-from-shell)
13
(setq eshell-path-env path-from-shell) ; for eshell users
0 commit comments