-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile_macos
60 lines (51 loc) · 1.41 KB
/
.bash_profile_macos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
eval "$(/opt/homebrew/bin/brew shellenv)"
##
# $ brew install bash-completion@2
#
# This config was just copy and pasted from the notes after the install.
# View those instructions again with `brew info bash-completion@2`.
#
[[ -r "/opt/homebrew/etc/profile.d/bash_completion.sh" ]] && \
. "/opt/homebrew/etc/profile.d/bash_completion.sh"
##
# Use coreutils tools instead of macos default ones.
#
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
##
# Installed go from Arch Linux official repos.
#
# https://wiki.archlinux.org/title/Go#Install_directory
#
# export GOBIN="$HOME/sdk/go1.22.3/bin"
# export GOPATH="$(/Users/indev/sdk/go1.22.3/bin/go env GOPATH)"
# export PATH="$PATH:$(go env GOBIN):$(go env GOPATH)/bin"
##
# https://github.com/go-nv/goenv
#
export GOENV_ROOT="$HOME/.goenv"
export PATH="$GOENV_ROOT/bin:$PATH"
eval "$(goenv init -)"
export PATH="$GOROOT/bin:$PATH"
export PATH="$PATH:$GOPATH/bin"
##
# Kitty terminal emulator
#
# • https://sw.kovidgoyal.net/kitty/index.html#completion-for-kitty
#
source <(kitty + complete setup bash)
if [ -f $HOME/local/bash_profile_work.sh ]
then
. $HOME/local/bash_profile_work.sh
fi
#
# vim: set filetype=sh:
#