aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-15 10:08:33 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-15 10:08:33 +0800
commit9de6b50827dd59da3d49d239acb3b2cc88ea04da (patch)
tree638048ab29b03de0d9fd7f866165db5c187037a0
parent7cb84718c6179a65b67948ebfec66edddf1a3d50 (diff)
downloaddotfiles-9de6b50827dd59da3d49d239acb3b2cc88ea04da.tar.bz2
_zshrc: minor adjustment
-rw-r--r--_zshrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/_zshrc b/_zshrc
index 9b549c6..d01135d 100644
--- a/_zshrc
+++ b/_zshrc
@@ -1,3 +1,4 @@
+## -*- mode: sh; -*-
##
## ~/.zshrc
## ZSH configuration file
@@ -18,7 +19,8 @@
## https://robots.thoughtbot.com/the-unix-shells-humble-if
##
## Aaron LI
-## 2014-05-31
+## Created: 2014-05-31
+## Updated: 2016-05-15
##
@@ -27,9 +29,7 @@ for f in ~/.zsh/[0-9][0-9]-*.zsh; do
done
## Local configurations
-if [ -r ~/.zshrc.local ]; then
- source ~/.zshrc.local
-fi
+[ -r ~/.zshrc.local ] && source ~/.zshrc.local || true
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #