aboutsummaryrefslogtreecommitdiff
path: root/zshrc.local
blob: 41459366ba8d85ecbb8783581cf4b59e8128849d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 ""