1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

better zz and zc alias

This commit is contained in:
juan 2021-08-19 18:22:02 +08:00
parent cef516a84e
commit 19f3be856d

4
.zshrc
View File

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