We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 046d676 + 1c9ecd7 commit 1723aebCopy full SHA for 1723aeb
plugins/autojump
@@ -7,6 +7,7 @@
7
# - OR autojump - https://github.com/wting/autojump
8
# - OR zoxide - https://github.com/ajeetdsouza/zoxide
9
# - OR z - https://github.com/rupa/z (z requires fzf)
10
+# - OR z (fish) - https://github.com/jethrokuan/z (z requires fzf)
11
#
12
# Note: The dependencies STORE NAVIGATION PATTERNS
13
@@ -41,7 +42,8 @@ elif type zoxide >/dev/null 2>&1; then
41
42
printf "%s" "0c$odir" > "$NNN_PIPE"
43
fi
44
else
- datafile="${_Z_DATA:-$HOME/.z}"
45
+ # rupa/z uses $_Z_DATA, jethrokuan/z (=port of z for fish) uses $Z_DATA
46
+ datafile="${_Z_DATA:-${Z_DATA:-$HOME/.z}}"
47
if type fzf >/dev/null 2>&1 && [ -f "$datafile" ]; then
48
# Read the data from z's file instead of calling
49
# z so the data doesn't need to be processed twice
0 commit comments