1
0
Fork 0

fix zsh config

This commit is contained in:
Luca Bilke 2024-04-25 13:36:12 +02:00
parent e35e553d89
commit 79d7e7453a
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
2 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,6 @@ export XBPS_DISTDIR="$XDG_DOCUMENTS_DIR/dev/desktop/void-packages"
export ZK_NOTEBOOK_DIR="$XDG_DOCUMENTS_DIR/notes"
localpath="$(find -L ~/.local/bin -type d -printf %p: | sed 's/.$//')"
fpath=($XDG_CONFIG_HOME/zsh/completions $fpath)
export PATH="$PATH:$localpath"
export PNPM_HOME="/home/luca/.local/share/pnpm"

View File

@ -1,5 +1,7 @@
[ ! -f $XDG_DATA_HOME/zsh/history ] && mkdir -p $XDG_DATA_HOME/zsh && touch $XDG_DATA_HOME/zsh/history
fpath=($XDG_CONFIG_HOME/zsh/completions $fpath)
setopt HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS HIST_VERIFY BANG_HIST interactive_comments autocd noflowcontrol longlistjobs nonomatch notify hash_list_all share_history histignorespace PROMPT_SUBST
autoload -Uz colors && colors
@ -25,5 +27,6 @@ export SAVEHIST=10000000
export HISTFILE="$XDG_DATA_HOME/zsh/history"
export KEYTIMEOUT=1
source $ZDOTDIR/configs/hashes
source $ZDOTDIR/configs/prompt