reducing some "if"
This commit is contained in:
parent
62890e057d
commit
14c4e3b7ff
2 changed files with 2 additions and 6 deletions
|
@ -4,6 +4,4 @@
|
|||
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||
|
||||
if hash pulseaudio 2>/dev/null; then
|
||||
pulseaudio --start
|
||||
fi
|
||||
hash pulseaudio 2>/dev/null && pulseaudio --start
|
||||
|
|
4
.bashrc
4
.bashrc
|
@ -85,9 +85,7 @@ export EDITOR='emacs'
|
|||
export PAGER='less'
|
||||
|
||||
# rbenv
|
||||
if hash rbenv 2>/dev/null; then
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
hash rbenv 2>/dev/null && eval "$(rbenv init -)"
|
||||
|
||||
# GPG Agent
|
||||
if [ -f "${HOME}/.gpg-agent-info" ]; then
|
||||
|
|
Loading…
Reference in a new issue