🔧 omz plugin tweaks
This commit is contained in:
parent
4af88f7422
commit
3223227eee
@ -1,32 +1,34 @@
|
|||||||
# Path to your oh-my-zsh configuration.
|
# Path to your oh-my-zsh configuration.
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
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!
|
# OH MY ZSH!
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# Android Studio
|
# Load starship
|
||||||
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)"
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
if command -v bat &> /dev/null; then
|
if command -v bat &> /dev/null; then
|
||||||
alias -- cat=bat
|
alias -- cat=bat
|
||||||
fi
|
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