aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bash_profile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-11-05 12:13:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-11-05 12:13:43 +0300
commit7e14b70a3c37e33d65a879f53b44a6d8d233137b (patch)
tree17aa7d24ad8856bea0389f59e768735873ae8438 /%HOME%/.bash_profile
parentupdate_ruby_settings: code style (diff)
downloadlinux-home-7e14b70a3c37e33d65a879f53b44a6d8d233137b.tar.gz
linux-home-7e14b70a3c37e33d65a879f53b44a6d8d233137b.zip
bugfix & code style
Diffstat (limited to '%HOME%/.bash_profile')
-rw-r--r--%HOME%/.bash_profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/%HOME%/.bash_profile b/%HOME%/.bash_profile
index 38b23f3..91b1d50 100644
--- a/%HOME%/.bash_profile
+++ b/%HOME%/.bash_profile
@@ -5,9 +5,9 @@ echo "Welcome to $( hostname )"
spawn_ssh_agent() {
[ -n "${SSH_AGENT_PID:+x}" ] && return 0
- command -v ssh-agent &> /dev/null \
+ command -v ssh-agent &> /dev/null \
&& eval "$( ssh-agent -s )" > /dev/null \
- && [ -n "${SSH_AGENT_PID:+x}" ] \
+ && [ -n "${SSH_AGENT_PID:+x}" ] \
&& trap "$( printf 'kill %q' "$SSH_AGENT_PID" )" 0
}