57 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
# 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 -e
 | 
						|
# End of lines configured by zsh-newuser-install
 | 
						|
 | 
						|
# The following lines were added by compinstall
 | 
						|
zstyle :compinstall filename '/home/ez/.zshrc'
 | 
						|
autoload -Uz compinit
 | 
						|
compinit
 | 
						|
# End of lines added by compinstall
 | 
						|
 | 
						|
# The following lines were added by powerlevel10k
 | 
						|
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
 | 
						|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
 | 
						|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
 | 
						|
# End of lines added by powerlevel10k
 | 
						|
 | 
						|
# The following lines were added by zplug
 | 
						|
# zplug - manage plugins
 | 
						|
source /usr/share/zsh/scripts/zplug/init.zsh 
 | 
						|
zplug "plugins/git", from:oh-my-zsh
 | 
						|
zplug "plugins/sudo", from:oh-my-zsh
 | 
						|
zplug "plugins/command-not-found", from:oh-my-zsh
 | 
						|
zplug "zsh-users/zsh-syntax-highlighting"
 | 
						|
zplug "zsh-users/zsh-autosuggestions"
 | 
						|
zplug "zsh-users/zsh-history-substring-search"
 | 
						|
zplug "zsh-users/zsh-completions"
 | 
						|
zplug "junegunn/fzf"
 | 
						|
#zplug "themes/gnzh", from:oh-my-zsh, as:theme   # Theme
 | 
						|
zplug romkatv/powerlevel10k, as:theme, depth:1 #THEME
 | 
						|
# zplug - install/load new plugins when zsh is started or reloaded
 | 
						|
if ! zplug check --verbose; then
 | 
						|
    printf "Install? [y/N]: "
 | 
						|
    if read -q; then
 | 
						|
        echo; zplug install
 | 
						|
    fi
 | 
						|
fi
 | 
						|
#echo -e "\nLoading Z shell plugins\n"
 | 
						|
zplug load
 | 
						|
#echo -e "\nPlugins Loaded\nWelcome to Z shell\n"
 | 
						|
# End of lines added by zplug
 | 
						|
 | 
						|
# USER MODS ##
 | 
						|
# Customize PATH
 | 
						|
path+=('/home/ez/.local/bin' $path)
 | 
						|
export PATH
 | 
						|
# Source USER alias file
 | 
						|
source '/home/ez/.zsh_aliases' |