Added zsh config files
This commit is contained in:
parent
626699a135
commit
57328ab49d
5 changed files with 3567 additions and 0 deletions
1
.zsh/flatpak_steam.zsh##class.flatpak_steam
Normal file
1
.zsh/flatpak_steam.zsh##class.flatpak_steam
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export XDG_DATA_DIR=$XDG_DATA_DIR:$HOME/.var/app/com.valvesoftware.Steam/data/
|
1678
.zsh/p10k_themes/blue_and_pink.zsh
Normal file
1678
.zsh/p10k_themes/blue_and_pink.zsh
Normal file
File diff suppressed because it is too large
Load diff
1842
.zsh/p10k_themes/purple.zsh
Normal file
1842
.zsh/p10k_themes/purple.zsh
Normal file
File diff suppressed because it is too large
Load diff
2
.zsh/term.zsh##class.alacritty
Normal file
2
.zsh/term.zsh##class.alacritty
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
export TERM="alacritty"
|
||||||
|
|
44
.zshrc
Normal file
44
.zshrc
Normal 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
|
Loading…
Reference in a new issue