mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-03 13:29:24 +00:00
Use p10k prompt
This commit is contained in:
11
.zshrc
11
.zshrc
@ -1,3 +1,10 @@
|
||||
# Enable Powerlevel10k instant prompt.uld 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
|
||||
|
||||
# Source Prezto.
|
||||
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
||||
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
||||
@ -9,6 +16,7 @@ export PATH=$PATH:~/bin
|
||||
setopt clobber
|
||||
zstyle ':completion:*' rehash true
|
||||
|
||||
export HISTFILE=~/.zsh_history
|
||||
export HISTFILESIZE=100000
|
||||
export HISTSIZE=100000
|
||||
|
||||
@ -111,3 +119,6 @@ autoload -U compinit && compinit
|
||||
# custom device
|
||||
|
||||
source ~/.zshrc_custom
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
Reference in New Issue
Block a user