Added zsh config files

This commit is contained in:
Gnarwhal 2024-07-28 18:13:29 +00:00
parent 626699a135
commit 57328ab49d
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
5 changed files with 3567 additions and 0 deletions

View file

@ -0,0 +1 @@
export XDG_DATA_DIR=$XDG_DATA_DIR:$HOME/.var/app/com.valvesoftware.Steam/data/

File diff suppressed because it is too large Load diff

1842
.zsh/p10k_themes/purple.zsh Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,2 @@
export TERM="alacritty"

44
.zshrc Normal file
View file

@ -0,0 +1,44 @@
# 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