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:
parent
cef516a84e
commit
19f3be856d
4
.zshrc
4
.zshrc
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user