fix zsh config
This commit is contained in:
parent
28b9bf1d1f
commit
68bf4c9471
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue