Created
December 28, 2023 20:23
-
-
Save felipebernardes/d85cd59c40b650bd8ee93c377dfc3dea to your computer and use it in GitHub Desktop.
.zshrc (pikachu theme)
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
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
cd ~/git | |
# https://linuxhint.com/change-zsh-prompt-name/ | |
# https://git-scm.com/book/sv/v2/Bilaga-A%3A-Git-in-Other-Environments-Git-in-Zsh | |
#default prompt | |
#PROMPT='%K{blue}%n@%m%k %B%F{cyan}%(4~|...|)%3~%F{white} %# %b%f%k' | |
PROMPT='⚡️%K{#fcba03}%F{black}%n%k%F{#fcba03}%(4~|...|)%3~ %b%f%k' | |
# Load version control information | |
autoload -Uz vcs_info | |
precmd() { vcs_info } | |
setopt PROMPT_SUBST | |
RPROMPT='%F{#fcba03}${vcs_info_msg_0_}' | |
# Load asdf | |
. /opt/homebrew/opt/asdf/libexec/asdf.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment