aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S90_z
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2021-05-11 21:21:45 +0500
committerAnton Bobov <abobov@gmail.com>2021-05-11 21:21:45 +0500
commitb1152a9acfde94478a8f1778c2e07b63ff807369 (patch)
tree479da1f78998720a4a93fc46ca2ef8917ca14a45 /files/.zsh/rc/S90_z
parent33b7c00410e77bddfd0059454249136560ca7da7 (diff)
Updates.
Diffstat (limited to 'files/.zsh/rc/S90_z')
-rw-r--r--[l---------]files/.zsh/rc/S90_z9
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,.]* *//')"
+}