aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/browser.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-31 17:26:30 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-31 17:26:30 +1200
commitf5ed4cd090b321064039441e40fe46a6995abf9a (patch)
tree371166922ae8e079eca565322496068d658b00ba /sh/profile.d/browser.sh
parentbfd8cd62a9f60f69d0f242d366f1df48ec9dbb92 (diff)
downloaddotfiles-f5ed4cd090b321064039441e40fe46a6995abf9a.tar.gz
dotfiles-f5ed4cd090b321064039441e40fe46a6995abf9a.zip
Use standard structure for if/for in shell
Mostly for clarity reasons; using this syntax: if [ condition ]; then commands fi As opposed to: if [ condition ] then commands fi Or: [ condition ] && command
Diffstat (limited to 'sh/profile.d/browser.sh')
-rw-r--r--sh/profile.d/browser.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/sh/profile.d/browser.sh b/sh/profile.d/browser.sh
index 2b060b06..094d2095 100644
--- a/sh/profile.d/browser.sh
+++ b/sh/profile.d/browser.sh
@@ -1,6 +1,5 @@
# Browser
-if [ -n "$DISPLAY" ]
-then
+if [ -n "$DISPLAY" ]; then
BROWSER='firefox'
else
BROWSER='lynx'