Last active
March 8, 2025 00:24
-
-
Save wwiill/a01be698b177aabed26b7c9fd03056d8 to your computer and use it in GitHub Desktop.
zshrc
This file contains hidden or 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
echo "Loading .zshrc" | |
source $HOME/.aliases | |
## curl https://raw.githubusercontent.com/git/git/refs/heads/master/contrib/completion/git-prompt.sh > ~/.git-prompt.sh | |
source $HOME/.git-prompt.sh | |
setopt PROMPT_SUBST ; PS1='[%F{39}%~%F{green}$(__git_ps1 " (%s)")%f]>' | |
export VSCODE="/Applications/Visual Studio Code.app/Contents/Resources/app/bin" | |
export EDITOR=hx | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
## python | |
# git clone https://github.com/pyenv/pyenv.git ~/.pyenv | |
export PYENV_ROOT="$HOME/.pyenv" | |
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" | |
eval "$(pyenv init - zsh)" | |
## autojump | |
# brew install autojump | |
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh | |
export PATH="$HOME/.local/bin:$VSCODE:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment