Merge branch 'master' of castlerock.planethawleywood.com:chawley/dotfiles-zsh
This commit is contained in:
15
.zshrc
15
.zshrc
@@ -1,3 +1,10 @@
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block, everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
@@ -54,7 +61,11 @@ COMPLETION_WAITING_DOTS="true"
|
||||
# Custom plugins may be added to ~/.oh-my-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
|
||||
)
|
||||
|
||||
|
||||
|
||||
# User configuration
|
||||
@@ -133,4 +144,4 @@ export FZF_DEFAULT_COMMAND='find .'
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
Reference in New Issue
Block a user