changed path for gem bin to be universal
This commit is contained in:
parent
9363bf44e5
commit
5a33ac1d80
1 changed files with 3 additions and 3 deletions
|
@ -3,6 +3,7 @@ dotfls="${HOME}/dotfiles"
|
||||||
dotlib="${dotfls}/lib"
|
dotlib="${dotfls}/lib"
|
||||||
dotcfg="${dotfls}/cfg"
|
dotcfg="${dotfls}/cfg"
|
||||||
brewpr="$(/home/linuxbrew/.linuxbrew/bin/brew --prefix)"
|
brewpr="$(/home/linuxbrew/.linuxbrew/bin/brew --prefix)"
|
||||||
|
gembin="$(ruby -rubygems -e "puts Gem.user_dir")/bin"
|
||||||
BASHER_SHELL=zsh
|
BASHER_SHELL=zsh
|
||||||
BASHER_ROOT=/home/eeleater/.basher
|
BASHER_ROOT=/home/eeleater/.basher
|
||||||
|
|
||||||
|
@ -12,10 +13,9 @@ path=(${brewpr}/sbin ${brewpr}/bin) # Homebrew
|
||||||
path+=(/usr/local/sbin /usr/local/bin) # Local Bin
|
path+=(/usr/local/sbin /usr/local/bin) # Local Bin
|
||||||
path+=(/usr/sbin /usr/bin) # /usr/bin
|
path+=(/usr/sbin /usr/bin) # /usr/bin
|
||||||
if type apt-get &>/dev/null; then path+=(/sbin /bin); fi # /bin only on Debian
|
if type apt-get &>/dev/null; then path+=(/sbin /bin); fi # /bin only on Debian
|
||||||
|
|
||||||
path+=(${dotfls}/bin) # Bin in Dotfiles
|
path+=(${dotfls}/bin) # Bin in Dotfiles
|
||||||
path+=(${dotlib}/basher/bin ${BASHER_ROOT}/cellar/bin) # Basher
|
path+=(${dotlib}/basher/bin ${BASHER_ROOT}/cellar/bin) # Basher
|
||||||
path+=(${HOME}/.gem/ruby/2.4.0/bin) # Ruby Gems
|
path+=(${gembin}) # Ruby Gems
|
||||||
path+=(/usr/lib/jvm/default/bin) # Java
|
path+=(/usr/lib/jvm/default/bin) # Java
|
||||||
path+=(/opt/android-sdk/build-tools/26.0.1) # Android SDK
|
path+=(/opt/android-sdk/build-tools/26.0.1) # Android SDK
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ fpath+=(${dotlib}/local)
|
||||||
fpath+=(${BASHER_ROOT}/cellar/completions/zsh)
|
fpath+=(${BASHER_ROOT}/cellar/completions/zsh)
|
||||||
|
|
||||||
# Actually export
|
# Actually export
|
||||||
export dotlib dotcfg brewpr PATH MANPATH INFOPATH EDITOR
|
export dotlib dotcfg brewpr gembin PATH MANPATH INFOPATH EDITOR
|
||||||
|
|
||||||
# Reload all Prompts
|
# Reload all Prompts
|
||||||
autoload -U promptinit && promptinit
|
autoload -U promptinit && promptinit
|
||||||
|
|
Loading…
Add table
Reference in a new issue