Skip to content

Instantly share code, notes, and snippets.

@abuturabofficial
Last active December 9, 2021 02:02
Show Gist options
  • Save abuturabofficial/c484f0cf3a7799eec0065687cf0d19a3 to your computer and use it in GitHub Desktop.
Save abuturabofficial/c484f0cf3a7799eec0065687cf0d19a3 to your computer and use it in GitHub Desktop.
# 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
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/abuturab/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Aliases
alias ls="ls --color=auto"
alias ll="ls -l --color=auto"
alias lal="ls -al --color=auto"
# Zsh auto-suggestions and zsh-syntax-highlighting plugins (manually installed)
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zsh/powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. (Manually installed)
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment