summaryrefslogtreecommitdiff
path: root/zsh/zscripts/!rootcolors.zsh
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2022-04-17 10:57:45 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2022-04-17 10:57:45 -0500
commit51c91732f84707686e92f01d3d6387fba88675bd (patch)
tree07afd5b34f38d83ced837bb8e7dd66554defe9fc /zsh/zscripts/!rootcolors.zsh
parent06b0c7eb739fd430aacbb46f183cea4aaf17300a (diff)
downloaddotconfig-51c91732f84707686e92f01d3d6387fba88675bd.tar.xz
dotconfig-51c91732f84707686e92f01d3d6387fba88675bd.zip
fixed gitignore file to not work recursively
Diffstat (limited to 'zsh/zscripts/!rootcolors.zsh')
-rwxr-xr-xzsh/zscripts/!rootcolors.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/zscripts/!rootcolors.zsh b/zsh/zscripts/!rootcolors.zsh
new file mode 100755
index 0000000..6ad30a7
--- /dev/null
+++ b/zsh/zscripts/!rootcolors.zsh
@@ -0,0 +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