Add linuxbrew to path

This commit is contained in:
John Doty 2023-03-31 13:52:31 +00:00
parent 312f87d958
commit bdb92d8372
2 changed files with 12 additions and 1 deletions

View file

@ -38,6 +38,15 @@ if test -n "$CODER_WORKSPACE_ID"
end
end
if test -d /home/linuxbrew/.linuxbrew
set -x HOMEBREW_PREFIX "/home/linuxbrew/.linuxbrew"
set -x HOMEBREW_CELLAR "/home/linuxbrew/.linuxbrew/Cellar"
set -x HOMEBREW_REPOSITORY "/home/linuxbrew/.linuxbrew/Homebrew"
set PATH "/home/linuxbrew/.linuxbrew/bin" "/home/linuxbrew/.linuxbrew/sbin" $PATH
set MANPATH "/home/linuxbrew/.linuxbrew/share/man" $MANPATH
set INFOPATH "/home/linuxbrew/.linuxbrew/share/info" $INFOPATH
end
if [ -n "$INSIDE_EMACS" ]
# This is here to make emacs and ansi-term work properly; I'm not *quite*
# sure what it does but it's probably cool.

View file

@ -3,7 +3,7 @@
email = john@d0ty.me
[include]
path = .gitconfig.shared
path = .gitconfig.shared
[credential "https://github.com"]
helper =
helper = !/opt/local/bin/gh auth git-credential
@ -14,3 +14,5 @@
helper = !/usr/bin/gh auth git-credential
[github]
user = DeCarabas
[safe]
directory = /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core