e5736d39103c59b115270dcf91d31419d3f08130

Author
Cosmin Lu?ă <q4break@gmail.com>
Committer
Cosmin Lu?ă <q4break@gmail.com>
Date

Message

Fixed coding style

Diff

 1diff --git a/lib/theme-and-appearance.zsh b/lib/theme-and-appearance.zsh
 2index 351ec22b00c775cd3ed7556f9f3c020d645a77ed..2677615c046e2933f6ae4bac48aa75130d09c563 100644
 3--- a/lib/theme-and-appearance.zsh
 4+++ b/lib/theme-and-appearance.zsh
 5@@ -7,13 +7,12 @@ export LSCOLORS="Gxfxcxdxbxegedabagacad"
 6 if [ "$DISABLE_LS_COLORS" != "true" ]
 7 then
 8   # Find the option for using colors in ls, depending on the version: Linux or BSD
 9-  if [[ "$(uname -s)" == "NetBSD" ]]
10-  then
11-      # On NetBSD, test if "gls" (GNU ls) is installed (this one supports colors); 
12-      # otherwise, leave ls as is, because NetBSD's ls doesn't support -G
13-      gls --color -d . &>/dev/null 2>&1 && alias ls='gls --color=tty'
14+  if [[ "$(uname -s)" == "NetBSD" ]]; then
15+    # On NetBSD, test if "gls" (GNU ls) is installed (this one supports colors); 
16+    # otherwise, leave ls as is, because NetBSD's ls doesn't support -G
17+    gls --color -d . &>/dev/null 2>&1 && alias ls='gls --color=tty'
18   else
19-      ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
20+    ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
21   fi
22 fi
23