diff options
Diffstat (limited to 'zshrc.local')
-rw-r--r-- | zshrc.local | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/zshrc.local b/zshrc.local new file mode 100644 index 0000000..4145936 --- /dev/null +++ b/zshrc.local @@ -0,0 +1,17 @@ +# Only necessary if using my dotfiles + +if [ -z "$SSH_CONNECTION" ]; then + if [ -z "$TMUX" -a "${TERM%%-*}" != "screen" ]; then + ~/.colorscheme + fi + + export PROMPT_HOST_COLOR=8 +else + export PROMPT_HOST_COLOR=1 + export PROMPT_SHORT_HOSTNAME="zno" +fi + +find ~/.trash -type f -mtime +90 -delete &>/dev/null || true +find ~/.vim/undo-dir -type f -mtime +90 -delete &>/dev/null || true + +echo "" |