summarylogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/zshrc b/zshrc
index 4b0a47a5bdcc..3037fbbede70 100644
--- a/zshrc
+++ b/zshrc
@@ -4,12 +4,14 @@
# User configuration sourced by interactive shells
#
-# Change default zim location
+# Change default zim location
export ZIM_HOME=/usr/lib/zim
+# Output is suppressed in the commands below to prevent spewing out permission errors.
+# When zim tries to upgrade itself when ran as user w/o writing rights to $ZIM_HOME.
# Source global config
-source /etc/zsh/zimrc
+source ${ZIM_HOME}/templates/zshrc &>/dev/null
# Source zim
-source ${ZIM_HOME}/init.zsh
+source ${ZIM_HOME}/init.zsh &>/dev/null