Removing the useless rbenv support.

This commit is contained in:
Rodolphe Breard 2015-09-13 14:48:16 +02:00
parent c302b90e7e
commit dbd988064e
2 changed files with 0 additions and 11 deletions

View file

@ -45,13 +45,5 @@ if [ -f "${HOME}/.gpg-agent-info" ]; then
fi fi
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
# rbenv
hash rbenv 2>/dev/null && eval "$(rbenv init -)"
if [ -d "$HOME/.gem/ruby" ]; then
for file in $HOME/.gem/ruby/*; do
[ -d "$file" -a -d "$file/bin" ] && export PATH="$PATH:$file/bin"
done
fi
# Aliases # Aliases
[ -f "$HOME/.bash_aliases" ] && . ~/.bash_aliases [ -f "$HOME/.bash_aliases" ] && . ~/.bash_aliases

3
.zshrc
View file

@ -49,9 +49,6 @@ if [ -f "${HOME}/.gpg-agent-info" ]; then
fi fi
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
# rbenv
[[ ! ":$PATH:" == *":$HOME/.rbenv/shims:"* ]] && hash rbenv 2>/dev/null && eval "$(rbenv init -)"
# Aliases # Aliases
[ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ] && alias ls='ls --color=auto' [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ] && alias ls='ls --color=auto'
alias ll='ls -lihF' alias ll='ls -lihF'