summaryrefslogtreecommitdiff
path: root/zsh/zscripts/!rootcolors.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zscripts/!rootcolors.zsh')
-rwxr-xr-xzsh/zscripts/!rootcolors.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zscripts/!rootcolors.zsh b/zsh/zscripts/!rootcolors.zsh
index 6ad30a7..d146aa5 100755
--- a/zsh/zscripts/!rootcolors.zsh
+++ b/zsh/zscripts/!rootcolors.zsh
@@ -1,3 +1,3 @@
#!/usr/bin/env zsh
-[ $(id -u) = 0 ] && declare col{br,name,at,host,dir}=red && clear # Clear to get rid of last login message
+[ $EUID = 0 ] && declare col{br,name,at,host,dir}=red && clear # Clear to get rid of last login message