Last active
July 25, 2023 14:12
-
-
Save pawelad/07d0759859a073c00dd20a17238112f2 to your computer and use it in GitHub Desktop.
My zsh config file
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
# Base | |
export LANG=en_US.UTF-8 | |
export PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
export HISTSIZE=1000000 | |
export SAVEHIST=1000000 | |
# brew | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
# pyenv | |
export PYENV_ROOT=$HOME/.pyenv | |
export PYENV_VIRTUALENV_DISABLE_PROMPT=1 | |
export PATH=$PYENV_ROOT/bin:$PATH | |
eval "$(pyenv init -)" | |
# pyenv-virtualenv | |
eval "$(pyenv virtualenv-init -)" | |
# Go | |
export GOPATH=$HOME/Dev/Go | |
export PATH=$PATH:$(go env GOPATH)/bin | |
# Postgres | |
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin | |
# zsh | |
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh | |
if type brew &>/dev/null; then | |
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH | |
autoload -Uz compinit | |
compinit -u | |
fi | |
# Starship | |
if which starship > /dev/null; then eval "$(starship init zsh)"; fi | |
# fzf | |
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment