File tree Expand file tree Collapse file tree 3 files changed +36
-19
lines changed
Expand file tree Collapse file tree 3 files changed +36
-19
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,30 @@ if [[ "$(uname -m)" == 'arm64' ]]; then
33else
44 eval " $( /usr/local/bin/brew shellenv) "
55fi
6+
67# Homebrew's Bash completion stuff
78if [ -f " $( brew --prefix) " /etc/bash_completion ]; then
89 # shellcheck disable=SC1091
910 source " $( brew --prefix) " /etc/bash_completion
1011fi
1112
13+ # `asdf` is now managed by homebrew
14+ # shellcheck disable=SC1090
15+ . <( asdf completion bash)
16+ # Hook direnv into your shell.
17+ # shellcheck disable=SC1091
18+ . " ${XDG_CONFIG_HOME:- $HOME / .config} /asdf-direnv/bashrc"
19+
20+ # Go specific env vars
21+ GOPATH=" ${HOME} /src/gopath"
22+ GOROOT=" $( asdf where golang) /go"
23+ export GOPATH GOROOT
24+
25+ # Java specific env vars
26+ JDK_HOME=" $( asdf where java) "
27+ JAVA_HOME=" $( asdf where java) /jre"
28+ export JDK_HOME JAVA_HOME
29+
1230# Update PATH
1331export PATH=" $( brew --prefix) /opt/curl/bin:${PATH} :${HOME} /src/gopath/bin:${HOME} /bin"
1432
Original file line number Diff line number Diff line change 11eval " $( /home/linuxbrew/.linuxbrew/bin/brew shellenv) "
2+
3+ # `asdf` is now managed by homebrew
4+ # shellcheck disable=SC1090
5+ . <( asdf completion bash)
6+ # Hook direnv into your shell.
7+ # shellcheck disable=SC1091
8+ . " ${XDG_CONFIG_HOME:- $HOME / .config} /asdf-direnv/bashrc"
9+
10+ # Go specific env vars
11+ GOPATH=" ${HOME} /src/gopath"
12+ GOROOT=" $( asdf where golang) /go"
13+ export GOPATH GOROOT
14+
15+ # Java specific env vars
16+ JDK_HOME=" $( asdf where java) "
17+ JAVA_HOME=" $( asdf where java) /jre"
18+ export JDK_HOME JAVA_HOME
19+
220# check the window size after each command and, if necessary,
321# update the values of LINES and COLUMNS.
422shopt -s checkwinsize
Original file line number Diff line number Diff line change @@ -22,29 +22,10 @@ if [ -f "${HOME}"/.bash_aliases ]; then
2222 . " ${HOME} " /.bash_aliases
2323fi
2424
25- # https://asdf-vm.com/guide/getting-started.html#_3-install-asdf
26- # shellcheck disable=SC1091
27- . " ${HOME} " /.asdf/asdf.sh
28- # shellcheck disable=SC1091
29- . " ${HOME} " /.asdf/completions/asdf.bash
30- # Hook direnv into your shell.
31- # shellcheck disable=SC1091
32- . " ${XDG_CONFIG_HOME:- $HOME / .config} /asdf-direnv/bashrc"
33-
3425# Change Pinta Language back to english
3526# export LANG=en_GB
3627# export LANG=en_US.UTF-8
3728
38- # Go specific env vars
39- GOPATH=" ${HOME} /src/gopath"
40- GOROOT=" $( asdf where golang) /go"
41- export GOPATH GOROOT
42-
43- # Java specific env vars
44- JDK_HOME=" $( asdf where java) "
45- JAVA_HOME=" $( asdf where java) /jre"
46- export JDK_HOME JAVA_HOME
47-
4829# Verbose terraform stderr
4930# export TF_LOG="TRACE"
5031
You can’t perform that action at this time.
0 commit comments