Skip to content

Instantly share code, notes, and snippets.

@tyrm
Created January 28, 2021 15:31
Show Gist options
  • Save tyrm/1e5941bb0fd2a1dbc5606e7dc8c765ab to your computer and use it in GitHub Desktop.
Save tyrm/1e5941bb0fd2a1dbc5606e7dc8c765ab to your computer and use it in GitHub Desktop.
# add python user path
export PATH=/Users/tyr/Library/Python/3.8/bin:$PATH
# update prompt
## Load version control information
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:git:*' formats '(%b)'
precmd() { vcs_info }
## Set up the prompt (with git branch name)
setopt PROMPT_SUBST
export PROMPT='%F{cyan}>%F{reset} %F{7}%1~%F{reset}%F{yellow}${vcs_info_msg_0_}%F{reset} %# '
# aliases
alias ll="ls -la"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment