[zshrc] Add ~/go/bin to PATH
This commit is contained in:
parent
c0798db8db
commit
03707ebb91
1 changed files with 1 additions and 1 deletions
2
zshrc
2
zshrc
|
|
@ -13,7 +13,7 @@ function is_interactive() { [ -t 1 ] }
|
||||||
|
|
||||||
# 1. Environment Vars
|
# 1. Environment Vars
|
||||||
# ===================
|
# ===================
|
||||||
custom_paths=(/sbin /usr/sbin /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin /usr/local/bin /usr/local/sbin /opt/homebrew/bin /opt/homebrew/sbin $HOME/bin)
|
custom_paths=(/sbin /usr/sbin /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin /usr/local/bin /usr/local/sbin /opt/homebrew/bin /opt/homebrew/sbin $HOME/go/bin $HOME/bin)
|
||||||
for dir in $custom_paths; do
|
for dir in $custom_paths; do
|
||||||
if [[ -d "$dir" ]]; then
|
if [[ -d "$dir" ]]; then
|
||||||
path=($dir $path)
|
path=($dir $path)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue