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
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
if hash pulseaudio 2>/dev/null; then
|
hash pulseaudio 2>/dev/null && pulseaudio --start
|
||||||
pulseaudio --start
|
|
||||||
fi
|
|
||||||
|
|
4
.bashrc
4
.bashrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue