mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Removing mentions of $PATH, using zsh $path instead
This commit is contained in:
parent
207b6a1e33
commit
3e5b128c2d
4 changed files with 4 additions and 4 deletions
|
|
@ -48,4 +48,4 @@ alias cdu='composer dump-autoload'
|
||||||
alias cget='curl -s https://getcomposer.org/installer | php'
|
alias cget='curl -s https://getcomposer.org/installer | php'
|
||||||
|
|
||||||
# Add Composer's global binaries to PATH
|
# Add Composer's global binaries to PATH
|
||||||
export PATH=$PATH:~/.composer/vendor/bin
|
path+=(~/.composer/vendor/bin)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ for pyenvdir in "${pyenvdirs[@]}" ; do
|
||||||
if [ -d $pyenvdir/bin -a $FOUND_PYENV -eq 0 ] ; then
|
if [ -d $pyenvdir/bin -a $FOUND_PYENV -eq 0 ] ; then
|
||||||
FOUND_PYENV=1
|
FOUND_PYENV=1
|
||||||
export PYENV_ROOT=$pyenvdir
|
export PYENV_ROOT=$pyenvdir
|
||||||
export PATH=${pyenvdir}/bin:$PATH
|
path=(${pyenvdir}/bin $path)
|
||||||
eval "$(pyenv init --no-rehash - zsh)"
|
eval "$(pyenv init --no-rehash - zsh)"
|
||||||
|
|
||||||
function pyenv_prompt_info() {
|
function pyenv_prompt_info() {
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ for rbenvdir in "${rbenvdirs[@]}" ; do
|
||||||
RBENV_ROOT=$rbenvdir
|
RBENV_ROOT=$rbenvdir
|
||||||
fi
|
fi
|
||||||
export RBENV_ROOT
|
export RBENV_ROOT
|
||||||
export PATH=${rbenvdir}/bin:$PATH
|
path=(${rbenvdir}/bin $path)
|
||||||
eval "$(rbenv init --no-rehash - zsh)"
|
eval "$(rbenv init --no-rehash - zsh)"
|
||||||
|
|
||||||
alias rubies="rbenv versions"
|
alias rubies="rbenv versions"
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
|
|
||||||
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
path=($HOME/bin /usr/local/bin $path)
|
||||||
# export MANPATH="/usr/local/man:$MANPATH"
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
# You may need to manually set your language environment
|
# You may need to manually set your language environment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue