🔧 omz plugin tweaks
This commit is contained in:
parent
4af88f7422
commit
3223227eee
@ -1,32 +1,34 @@
|
||||
# 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)
|
||||
plugins=(
|
||||
asdf
|
||||
aws
|
||||
command-not-found
|
||||
direnv
|
||||
docker
|
||||
docker-compose
|
||||
eza
|
||||
extract
|
||||
gcloud
|
||||
git
|
||||
github
|
||||
mix
|
||||
tmux
|
||||
zsh-autosuggestions
|
||||
)
|
||||
|
||||
# eza plugin config
|
||||
zstyle ':omz:plugins:eza' 'git-status' yes
|
||||
zstyle ':omz:plugins:eza' 'header' yes
|
||||
|
||||
# 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
|
||||
|
||||
# Load starship
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user