diff --git a/zsh/aliases b/zsh/aliases index 64ea284..8a77501 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -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' diff --git a/zsh/zshrc b/zsh/zshrc index 88775bd..7bf0f88 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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