summarylogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorMateusz Galazyn2021-01-11 22:29:20 +0100
committerMateusz Galazyn2021-01-11 22:29:20 +0100
commit5a378e94d516c57d39629de545b78b0f020d86a4 (patch)
tree1e33aeb40a8c7d2576580f12774ec9cf2554a102 /zshrc
parent1b9e3e9a772a2e95ef63f9bf69db7798aaa6d7d5 (diff)
downloadaur-5a378e94d516c57d39629de545b78b0f020d86a4.tar.gz
Update for new packaging of zsh-zim
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