reducing some "if"

This commit is contained in:
Rodolphe Breard 2015-02-09 22:27:02 +01:00
parent 62890e057d
commit 14c4e3b7ff
2 changed files with 2 additions and 6 deletions

View file

@ -4,6 +4,4 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc [[ -f ~/.bashrc ]] && . ~/.bashrc
if hash pulseaudio 2>/dev/null; then hash pulseaudio 2>/dev/null && pulseaudio --start
pulseaudio --start
fi

View file

@ -85,9 +85,7 @@ export EDITOR='emacs'
export PAGER='less' export PAGER='less'
# rbenv # rbenv
if hash rbenv 2>/dev/null; then hash rbenv 2>/dev/null && eval "$(rbenv init -)"
eval "$(rbenv init -)"
fi
# GPG Agent # GPG Agent
if [ -f "${HOME}/.gpg-agent-info" ]; then if [ -f "${HOME}/.gpg-agent-info" ]; then