summaryrefslogtreecommitdiff
path: root/mac/zshrc
blob: 05aa0e5f8dd57d9f9451b6974bf4afbb8ad5a3af (plain)
1
2
3
4
5
6
7
8
9
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
PROMPT="[%F{green}%n%f@%m %F{135}%1~%f]$ "

# SSH agent - reuse existing or start new
if [ -z "$SSH_AUTH_SOCK" ] || ! ssh-add -l &>/dev/null; then
  eval "$(ssh-agent -s)" > /dev/null
  ssh-add ~/macm4-resident
fi