dotfiles/chezmoi/dot_zshrc

32 lines
756 B
Plaintext
Raw Permalink Normal View History

2024-09-13 17:35:03 -04:00
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
plugins=(asdf direnv aws gcloud extract command-not-found tmux git github ssh-agent docker docker-compose mix zsh-autosuggestions)
# OH MY ZSH!
source $ZSH/oh-my-zsh.sh
# Android Studio
if [ -d ~/Library/Android/sdk ]; then
export ANDROID_SDK=~/Library/Android/sdk
export PATH=~/Library/Android/sdk/platform-tools:$PATH
fi
if [ $TERM = "screen" ]; then
export DISABLE_AUTO_TITLE="true"
fi
eval "$(starship init zsh)"
# Aliases
if command -v bat &> /dev/null; then
alias -- cat=bat
fi
if command -v eza &> /dev/null; then
alias -- eza='eza --git --header'
alias -- la='eza -a'
alias -- ll='eza -l'
alias -- lla='eza -la'
alias -- ls=eza
alias -- lt='eza --tree'
fi