45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
|
# 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
|
||
|
|
||
|
if [ -f $HOME/.zsh/term.zsh ]; then
|
||
|
source $HOME/.zsh/term.zsh
|
||
|
fi
|
||
|
|
||
|
export ZSH="$HOME/.zsh/oh-my-zsh/"
|
||
|
|
||
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||
|
source $ZSH/oh-my-zsh.sh
|
||
|
|
||
|
# Set up the PATH variable
|
||
|
setopt null_glob
|
||
|
for file in $HOME/.zsh/path/*.zsh; do
|
||
|
source $file
|
||
|
done
|
||
|
export PATH
|
||
|
unsetopt null_glob
|
||
|
|
||
|
|
||
|
HISTFILE="$HOME/.zsh/history"
|
||
|
|
||
|
# Powerlevel10k theme
|
||
|
# source ~/.zsh/p10k_themes/blue_and_pink.zsh
|
||
|
source ~/.zsh/p10k_themes/purple.zsh
|
||
|
|
||
|
export GPG_TTY=$TTY
|
||
|
|
||
|
# Case sensitive completion (with case insensitive fallback)
|
||
|
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||
|
|
||
|
export EDITOR=hx
|
||
|
|
||
|
if [ -f $HOME/.zsh/flatpak_steam.zsh ]; then
|
||
|
source $HOME/.zsh/flatpak_steam.zsh
|
||
|
fi
|
||
|
|
||
|
plugins=(git)
|
||
|
umask 22
|