]> arthur.barton.de Git - ax-zsh.git/commitdiff
80_local_config: Read $HOME/.z{login|zlogout|zprofile|zshrc}.local
authorAlexander Barton <alex@barton.de>
Tue, 7 Jul 2015 12:46:59 +0000 (14:46 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 7 Jul 2015 12:46:59 +0000 (14:46 +0200)
core/80_local_config/80_local_config.zlogin
core/80_local_config/80_local_config.zlogout
core/80_local_config/80_local_config.zprofile
core/80_local_config/80_local_config.zshrc

index 5ecb9a9d2d978683a6a1aafa995050068dd92c54..a9f20b02c25e8ef6612096ce1287b54d76d65372 100644 (file)
@@ -1,6 +1,12 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # 80_local_config.zlogin: Read local configuration
 
+if [[ -r "$HOME/.zlogin.local" ]]; then
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zlogin.local:"
+       source "$HOME/.zlogin.local"
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zlogin.local (end)"
+fi
+
 if [[ -r "/var/lib/$HOST/zlogin" ]]; then
        [[ -f "$HOME/.axzsh.debug" ]] && echo "» /var/lib/$HOST/zlogin:"
        source "/var/lib/$HOST/zlogin"
index a78f66a4b4df30bcc517e37f21d05af690d1a0ef..8a51c17762878029e7bd7b83443a1d8adf208a52 100644 (file)
@@ -1,6 +1,12 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # 80_local_config.zlogout: Read local configuration
 
+[if [[ -r "$HOME/.zlogout.local" ]]; then
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zlogout.local:"
+       source "$HOME/.zlogout.local"
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zlogout.local (end)"
+fi
+
 if [[ -r "/var/lib/$HOST/zlogout" ]]; then
        [[ -f "$HOME/.axzsh.debug" ]] && echo "» /var/lib/$HOST/zlogout:"
        source "/var/lib/$HOST/zlogout"
index bae9cfc5d423fed49b5a2b664c60c77487ed262f..d956c0d7730048e8d8414e466648b5f32d938647 100644 (file)
@@ -1,6 +1,12 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # 80_local_config.zprofile: Read local configuration
 
+if [[ -r "$HOME/.zprofile.local" ]]; then
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zprofile.local:"
+       source "$HOME/.zprofile.local"
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zprofile.local (end)"
+fi
+
 if [[ -r "/var/lib/$HOST/zprofile" ]]; then
        [[ -f "$HOME/.axzsh.debug" ]] && echo "» /var/lib/$HOST/zprofile:"
        source "/var/lib/$HOST/zprofile"
index a43f89455102920f4143d2c43337ad348839691d..2b6d647ceec04bb81d2a1d66a7fcdcaa17139838 100644 (file)
@@ -1,6 +1,12 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # 80_local_config.zshrc: Read local configuration
 
+if [[ -r "$HOME/.zshrc.local" ]]; then
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zshrc.local:"
+       source "$HOME/.zshrc.local"
+       [[ -f "$HOME/.axzsh.debug" ]] && echo "» $HOME/.zshrc.local (end)"
+fi
+
 if [[ -r "/var/lib/$HOST/zshrc" ]]; then
        [[ -f "$HOME/.axzsh.debug" ]] && echo "» /var/lib/$HOST/zshrc:"
        source "/var/lib/$HOST/zshrc"