]> arthur.barton.de Git - ax-zsh.git/blobdiff - core/80_local_config/80_local_config.zshrc
80_local_config: Show debug messages, when enabled.
[ax-zsh.git] / core / 80_local_config / 80_local_config.zshrc
index 8bd514a3309aed293387e90b224685dbb6060a64..a43f89455102920f4143d2c43337ad348839691d 100644 (file)
@@ -1,5 +1,8 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # 80_local_config.zshrc: Read local configuration
 
-[[ -r "/var/lib/$HOST/zshrc" ]] \
-       && source "/var/lib/$HOST/zshrc"
+if [[ -r "/var/lib/$HOST/zshrc" ]]; then
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» /var/lib/$HOST/zshrc:"
+       source "/var/lib/$HOST/zshrc"
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» /var/lib/$HOST/zshrc (end)"
+fi