Do not try to source the .secrets file if there is none

(cherry picked from commit 0002a86a3f4cf5db8c7a623189cd08f8816dfa9d)
This commit is contained in:
Yan Pritzker 2012-02-04 21:10:11 -08:00
parent d7e07e0938
commit 56f649e939
2 changed files with 1 additions and 4 deletions

View File

@ -106,9 +106,6 @@ alias mctags=~/.bin/run_tags.rb #'/opt/local/bin/ctags -Rf ./tags *'
alias ka9='killall -9'
alias k9='kill -9'
# This trick makes sudo understand all my aliases
alias sudo='sudo '
# Gem install
alias sgi='sudo gem install --no-ri --no-rdoc'

View File

@ -22,7 +22,7 @@ source $yadr/zsh/aliases
source $yadr/zsh/zsh_aliases
# Things I don't want to publish to github
source ~/.secrets
[[ -s "$HOME/.secrets" ]] && source "$HOME/.secrets"
# Vim mode
bindkey -v