export OZSH_HOME="$HOME/.ozsh" source $OZSH_HOME/libozsh.zsh # link the p10k.zsh file if [ ! -f "$HOME/.p10k.zsh" ]; then ln -s "$OZSH_HOME/p10k.zsh" $HOME/.p10k.zsh fi # 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 # load theme ozsh_load theme powerlevel10k "https://github.com/romkatv/powerlevel10k" # load plugins ozsh_load plugin zsh-autosuggestions "https://github.com/zsh-users/zsh-autosuggestions" ozsh_load plugin zsh-syntax-highlighting "https://github.com/zsh-users/zsh-syntax-highlighting" ozsh_load plugin zsh-completions "https://github.com/zsh-users/zsh-completions" autoload -U compinit && compinit ozsh_load plugin_omz gpg-agent # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # # User-specific settings # set -o emacs POWERLEVEL9K_DISABLE_GITSTATUS=true # optional settings export PATH="$PATH:/usr/local/bin" # # persist history HISTFILE=$HOME/.zsh_history HISTSIZE=10000 SAVEHIST=10000 setopt appendhistory