summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-08-03 00:30:12 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-08-03 00:30:12 +0200
commitf8bb8b0fa50a4526710f477965c2734d72cdb778 (patch)
tree979905a7df2b0c6946c64206602c3283d832d3e7
parent7201ec04e3769981b20b90884dc238d8b3eb89bd (diff)
downloaddotfiles-f8bb8b0fa50a4526710f477965c2734d72cdb778.tar.gz
dotfiles-f8bb8b0fa50a4526710f477965c2734d72cdb778.tar.xz
zshrc: add ~root/bin to $PATH
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rw-r--r--.zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index e206077..3a41969 100644
--- a/.zshrc
+++ b/.zshrc
@@ -745,6 +745,11 @@ echo
# {{{ Other stuff that doesn't fit anywhere else
#umask 077
stty -ctlecho
+
+if [ $UID -eq 0 ]; then
+ export PATH=/root/bin:$PATH
+fi
+
# }}}
# Show again