diff options
author | Alexis Hovorka <[email protected]> | 2021-01-04 00:06:27 -0700 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2021-01-04 00:06:27 -0700 |
commit | ff1463ba59260c3df518755d978b4e18272bf454 (patch) | |
tree | 067c10712e457f3505694d8fb949dae4d432ba51 /zshrc.local |
Initial commit
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 "" |