better zz and zc alias

This commit is contained in:
juan 2021-08-19 18:22:02 +08:00
parent cef516a84e
commit 19f3be856d
1 changed files with 4 additions and 0 deletions

4
.zshrc
View File

@ -64,6 +64,10 @@ bindkey '' edit-command-line
export _Z_DATA="$HOME/.cache/z"
. $HOME/.cache/z.sh
zz () {
cd `z -l $* | fzf | awk '{print $2}'`
}
alias zc="z -c"
#use lf to change dirs. credit: luke
lfcd () {