Last active
December 8, 2023 20:23
-
-
Save hugocore/a8c35d573849d760bc8cde3d89058845 to your computer and use it in GitHub Desktop.
ZSH 2023
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
# Setup Oh-My-ZSH | |
export ZSH="$HOME/.oh-my-zsh" | |
# Add wisely, as too many plugins slow down shell startup. | |
plugins=( | |
git | |
brew | |
zsh-autosuggestions | |
asdf | |
) | |
# Load Oh-My-ZSH | |
source $ZSH/oh-my-zsh.sh | |
# Activate the pure theme | |
fpath+=("$(brew --prefix)/share/zsh/site-functions") | |
ZSH_THEME="" | |
autoload -U promptinit; promptinit | |
prompt pure | |
# ssh | |
export SSH_KEY_PATH="~/.ssh/id_ed25519" | |
# Aliases | |
alias zshconfig="nano ~/.zshrc" | |
alias ohmyzsh="nano ~/.oh-my-zsh" | |
alias up="docker-compose up" | |
alias down="docker-compose down" | |
alias run="docker-compose run --rm" | |
alias build="docker-compose build" | |
alias be="bundle exec" | |
# iTerm | |
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" | |
# Asdf | |
. /opt/homebrew/opt/asdf/libexec/asdf.sh | |
# (END) zsh-syntax-highlighting | |
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment