diff options
| author | Anton Bobov <abobov@gmail.com> | 2021-05-11 21:21:45 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2021-05-11 21:21:45 +0500 |
| commit | b1152a9acfde94478a8f1778c2e07b63ff807369 (patch) | |
| tree | 479da1f78998720a4a93fc46ca2ef8917ca14a45 /files/.zsh/rc/S90_z | |
| parent | 33b7c00410e77bddfd0059454249136560ca7da7 (diff) | |
Updates.
Diffstat (limited to 'files/.zsh/rc/S90_z')
| -rw-r--r--[l---------] | files/.zsh/rc/S90_z | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/files/.zsh/rc/S90_z b/files/.zsh/rc/S90_z index d948656..3245b1c 120000..100644 --- a/files/.zsh/rc/S90_z +++ b/files/.zsh/rc/S90_z @@ -1 +1,8 @@ -../z/z.sh
\ No newline at end of file +# vim: ft=zsh : +source $ZSHDIR/z/z.sh + +unalias z 2>/dev/null +z() { + [ $# -gt 0 ] && _z "$@" && return + cd "$(_z -l 2>&1 | fzf --height 40% --nth 2.. --reverse --inline-info +s --tac --query "${*##-* }" | sed 's/^[0-9,.]* *//')" +} |
