[zshrc] Remove Ubuntu system gem bin dir from PATH
This commit is contained in:
parent
81b2fbdcf5
commit
2829824fcb
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
|
||||
# ===================
|
||||
custom_paths=(/sbin /usr/sbin /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin $HOME/.gem/ruby/2.5.0/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/bin)
|
||||
for dir in $custom_paths; do
|
||||
if [[ -d "$dir" ]]; then
|
||||
path=($dir $path)
|
||||
|
|
|
|||
Loading…
Reference in a new issue