summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 3758f4c..8f6bd38 100644
--- a/.zshrc
+++ b/.zshrc
@@ -30,7 +30,7 @@ if [ -d $ZDOTDIR ]; then
[ "$DEBUG" != "" ] && echo "${${script:t:r}/??_/}... ";
source $script
- for i in "host:`hostname -s`" "user:`whoami`" "net:`hostname -d`"
+ for i in "host:`hostname -s`" "user:`whoami`" "net:`hostname -d 2>/dev/null`"
do
specific_script=${script:h}/$i/${${script:t}/??_/}
[ -f $specific_script ] && source $specific_script