From 4741dd5c051cde36ff0b201cb0fb0398d6b6d3da Mon Sep 17 00:00:00 2001 From: juan Date: Mon, 23 Aug 2021 16:57:24 +0800 Subject: [PATCH] Switch to zsh-z a faster z implementation in zsh --- .zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 671de11..ec4b3e8 100644 --- a/.zshrc +++ b/.zshrc @@ -25,6 +25,8 @@ zinit light zsh-users/zsh-autosuggestions zinit ice lucid wait zinit light zdharma/fast-syntax-highlighting zinit light zsh-users/zsh-history-substring-search +zinit ice lucid wait +zinit light agkozak/zsh-z autoload -Uz _zinit (( ${+_comps} )) && _comps[zinit]=_zinit @@ -62,8 +64,8 @@ autoload edit-command-line zle -N edit-command-line bindkey '' edit-command-line -export _Z_DATA="$HOME/.cache/z" -. $HOME/.cache/z.sh +export ZSHZ_CASE=smart +export ZSHZ_DATA="$HOME/.cache/z" zz () { cd `z -l $* | fzf | awk '{print $2}'` }