summaryrefslogtreecommitdiff
path: root/zsh/zscripts/!rootcolors.zsh
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2022-06-16 15:19:16 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2022-06-16 15:19:16 -0500
commit66bff0b5ef46550866c959bb745a61363dc5331f (patch)
treeaccb0a1923bf9673d54bca84ee637ed536ae7b6a /zsh/zscripts/!rootcolors.zsh
parentc878742ad78a014fef93c520abd1c1d846f2c0d9 (diff)
downloaddotconfig-66bff0b5ef46550866c959bb745a61363dc5331f.tar.xz
dotconfig-66bff0b5ef46550866c959bb745a61363dc5331f.zip
zplug commit
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