# - OR autojump - https://github.com/wting/autojump
# - OR zoxide - https://github.com/ajeetdsouza/zoxide
# - OR z - https://github.com/rupa/z (z requires fzf)
+# - OR z (fish) - https://github.com/jethrokuan/z (z requires fzf)
#
# Note: The dependencies STORE NAVIGATION PATTERNS
#
printf "%s" "0c$odir" > "$NNN_PIPE"
fi
else
- datafile="${_Z_DATA:-$HOME/.z}"
+ # rupa/z uses $_Z_DATA, jethrokuan/z (=port of z for fish) uses $Z_DATA
+ datafile="${_Z_DATA:-$Z_DATA}"
+ datafile="${datafile:-$HOME/.z}"
if type fzf >/dev/null 2>&1 && [ -f "$datafile" ]; then
# Read the data from z's file instead of calling
# z so the data doesn't need to be processed twice