# 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' # Set screenshot dir HYPRLAND_INTERACTIVE_SCREENSHOT_SAVEDIR='/home/ez/Pictures/screenshots' export HYPRLAND_INTERACTIVE_SCREENSHOT_SAVEDIR # FZF-Help plugin source /usr/share/fzf-help/fzf-help.zsh zle -N fzf-help-widget bindkey "^A" fzf-help-widget FZF_HELP_OPTS="--multi --layout=reverse --preview-window=right,65%,wrap,border-rounded --height 80% --marker='✔ ' --no-scrollbar" FZF_HELP_OPTS+="--color='fg+:15,fg:42,preview-fg:123,preview-label:123,hl+:134,hl:123,query:134,gutter:0,border:134,prompt:15,pointer:15,marker:15,header:123'" FZF_HELP_OPTS+="--bind ctrl-a:change-preview-window(down,75%,nowrap|right,75%,nowrap)" export FZF_HELP_OPTS