diff --git a/.zshrc b/.zshrc index 18b558d..84421e5 100644 --- a/.zshrc +++ b/.zshrc @@ -15,7 +15,7 @@ export ZSH="$HOME/.oh-my-zsh" # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="robbyrussell" +ZSH_THEME=""powerlevel10k/powerlevel10k"" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -77,7 +77,8 @@ ZSH_THEME="robbyrussell" # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git) +plugins=(git + zsh-syntax-highlighting) source $ZSH/oh-my-zsh.sh @@ -106,14 +107,8 @@ source $ZSH/oh-my-zsh.sh # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" -source ~/powerlevel10k/powerlevel10k.zsh-theme eval "$(/opt/homebrew/bin/brew shellenv)" -# Text Highlighting -source /Users/kulvir/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - -# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. -[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # ---------------------- # Git Aliases @@ -125,3 +120,6 @@ alias gd='git diff' alias gpl='git pull' alias gp='git push' alias gs='git status' + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh