# 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 source ~/powerlevel10k/powerlevel10k.zsh-theme # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # Aliases: alias ll='ls -lhF --color=auto' alias la='ls -lahF --color=auto' # ZSH history: export HISTFILE=~/.zsh_history export HISTSIZE=1000000 export SAVEHIST=1000000 setopt HIST_FIND_NO_DUPS setopt HIST_REDUCE_BLANKS setopt INC_APPEND_HISTORY_TIME setopt EXTENDED_HISTORY setopt HIST_EXPIRE_DUPS_FIRST