updated config a bit
This commit is contained in:
parent
3afad1aa37
commit
890c746657
4 changed files with 8 additions and 16 deletions
|
@ -67,15 +67,6 @@ github = "zsh-users/zsh-autosuggestions"
|
|||
[plugins.syntaxhighlighting]
|
||||
github = "zsh-users/zsh-syntax-highlighting"
|
||||
|
||||
[plugins.bashcomps]
|
||||
local = "~/.config/zsh/files/"
|
||||
use = ["bashcomps.zsh"]
|
||||
|
||||
[plugins.evalstuff]
|
||||
local = "~/.config/zsh/files/"
|
||||
use = ["evalstuff.zsh"]
|
||||
|
||||
[plugins.ownconfigs]
|
||||
local = "~/.config/zsh/files/"
|
||||
use = ["{options,sshcomp,aliases,functions,distroicon}.zsh"]
|
||||
|
||||
use = ["{bashcomps,evalstuff,options,sshcomp,aliases,functions,distroicon}.zsh"]
|
||||
|
|
|
@ -5,7 +5,7 @@ export XDG_CONFIG_DIRS=/etc/xdg
|
|||
export XDG_DATA_HOME="$HOME"/.local/share
|
||||
export XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/flatpak/exports/share:"$XDG_DATA_HOME"/flatpak/exports/share
|
||||
export XDG_STATE_HOME="$HOME"/.local/state
|
||||
export XDG_DESKTOP_DIR=$HOME/Desktop
|
||||
export XDG_DESKTOP_DIR="$HOME"/Desktop
|
||||
export XDG_DOCUMENTS_DIR="$HOME"/Documents
|
||||
export XDG_DOWNLOAD_DIR="$HOME"/Downloads
|
||||
export XDG_MUSIC_DIR="$HOME"/Music
|
||||
|
@ -43,7 +43,6 @@ export GIBO_BOILERPLATES="$XDG_DATA_HOME"/giboboilerplates
|
|||
# other programs
|
||||
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
|
||||
export EDITOR=nvim
|
||||
#export VISUAL=kate
|
||||
export ZSH_WAKATIME_BIN=/usr/bin/wakatime
|
||||
export PYTHONSTARTUP=/etc/python/pythonrc
|
||||
|
||||
|
@ -52,6 +51,7 @@ export ZELLIJ_AUTO_ATTACH=true
|
|||
export ZELLIJ_AUTO_EXIT=true
|
||||
export TERMINALNAME=$(fastfetch --pipe -s Terminal 2>/dev/null | awk '{print $2}')
|
||||
export MANROFFOPT="-c"
|
||||
export FZF_DEFAULT_OPTS='--color=fg:#f8f8f2,bg:#282a36,hl:#bd93f9 --color=fg+:#f8f8f2,bg+:#44475a,hl+:#bd93f9 --color=info:#ffb86c,prompt:#50fa7b,pointer:#ff79c6 --color=marker:#ff79c6,spinner:#ffb86c,header:#6272a4'
|
||||
|
||||
# zsh specific
|
||||
export SAVEHIST=$(( 100 * 1000 ))
|
||||
|
@ -61,3 +61,4 @@ export HISTFILE="$ZSH_CACHE_DIR"/history
|
|||
export GPG_TTY="$TTY"
|
||||
export DIFFPROG='meld'
|
||||
export AUTO_NTFY_DONE_IGNORE="ntfy emacs htop info less mail man meld most mutt nano screen ssh tail tmux top vi vim watch bat cat kate topgrade"
|
||||
export EXA_COLORS="uu=36:gu=37:sn=32:sb=32:da=34:ur=34:uw=35:ux=36:ue=36:gr=34:gw=35:gx=36:tr=34:tw=35:tx=36"
|
||||
|
|
|
@ -17,5 +17,5 @@ eval "$(sheldon source)"
|
|||
for sourced in "$XDG_DATA_HOME"/zsh/files/*; do source $sourced; done
|
||||
|
||||
# theme
|
||||
potentialTheme=('atomic.omp.json' 'emodipt-extend.omp.json' 'kali.omp.json' 'lambda.omp.json' 'nordtron.omp.json')
|
||||
eval "$(oh-my-posh init zsh --config="$XDG_CACHE_HOME/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]")"
|
||||
potentialTheme=('lambda' 'emodipt-extend' 'kali' 'atomic' 'nordtron' 'illusi0n' 'di4am0nd' 'bubblesextra')
|
||||
eval "$(oh-my-posh init zsh --config="$XDG_CACHE_HOME/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1].omp.json")"
|
|
@ -4,9 +4,9 @@ pet_select () {
|
|||
zle redisplay
|
||||
}
|
||||
zle -N pet_select
|
||||
bindkey '^l' pet_select
|
||||
bindkey '^s' pet_select
|
||||
|
||||
pet_add_prev () {
|
||||
prev () {
|
||||
PREV=$(fc -lrn | head -n 1)
|
||||
sh -c "pet new $(printf %q "$PREV")"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue