aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S90_z
diff options
context:
space:
mode:
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,.]* *//')"
+}