aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-10 23:54:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-10 23:54:25 +1300
commit79309afa6f6d8b4f3a607694608b499db6b992fa (patch)
tree627a59b4d7182ccca6d7bfb613895e876bfd25ed /sh/profile.d
parentAdd comment (diff)
downloaddotfiles-79309afa6f6d8b4f3a607694608b499db6b992fa.tar.gz
dotfiles-79309afa6f6d8b4f3a607694608b499db6b992fa.zip
Use space before semicolon as command separator
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/browser.sh2
-rw-r--r--sh/profile.d/keychain.sh6
-rw-r--r--sh/profile.d/ls.sh2
3 files changed, 5 insertions, 5 deletions
diff --git a/sh/profile.d/browser.sh b/sh/profile.d/browser.sh
index 3b03b3d6..9d5919eb 100644
--- a/sh/profile.d/browser.sh
+++ b/sh/profile.d/browser.sh
@@ -1,5 +1,5 @@
# Browser
-if [ -n "$DISPLAY" ]; then
+if [ -n "$DISPLAY" ] ; then
BROWSER=firefox
else
BROWSER=lynx
diff --git a/sh/profile.d/keychain.sh b/sh/profile.d/keychain.sh
index e4733aff..cde71792 100644
--- a/sh/profile.d/keychain.sh
+++ b/sh/profile.d/keychain.sh
@@ -1,16 +1,16 @@
# ssh-askpass setup
-if command -v ssh-askpass >/dev/null 2>&1; then
+if command -v ssh-askpass >/dev/null 2>&1 ; then
SSH_ASKPASS=$(command -v ssh-askpass)
export SSH_ASKPASS
fi
# keychain setup
-if command -v keychain >/dev/null 2>&1; then
+if command -v keychain >/dev/null 2>&1 ; then
eval "$(TERM=${TERM:-ansi} keychain \
--eval --ignore-missing --quiet id_dsa id_rsa id_ecsda)"
# Set and export TTY/GPG_TTY for interactive shells
- if [ -t 0 ]; then
+ if [ -t 0 ] ; then
GPG_TTY=$(tty)
export GPG_TTY
fi
diff --git a/sh/profile.d/ls.sh b/sh/profile.d/ls.sh
index c00d815d..f99a59f4 100644
--- a/sh/profile.d/ls.sh
+++ b/sh/profile.d/ls.sh
@@ -1,5 +1,5 @@
# Define and store appropriate colors for ls
-if command -v dircolors >/dev/null 2>&1; then
+if command -v dircolors >/dev/null 2>&1 ; then
eval "$(dircolors --sh)"
fi