fastfetch export HISTFILE="$HOME/.zsh_history" export HISTSIZE=10000 export SAVEHIST=10000 export PATH="$HOME/.config/emacs/bin:$PATH" setopt EXTENDED_HISTORY # 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 # The following lines were added by compinstall zstyle :compinstall filename '/home/xie/.zshrc' autoload -Uz compinit compinit # End of lines added by compinstall # Fish-like Syntax highlighting source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme # AutoCD setopt autocd # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # Aliases alias vi='nvim' alias sudo='doas ' alias pacupdate='doas pacman -Syu' alias la='ls -alpsh' alias gc='git commit -m' alias gs='git add . && git commit -m' source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh