Created
January 28, 2021 15:31
-
-
Save tyrm/1e5941bb0fd2a1dbc5606e7dc8c765ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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