termux-packages/packages/autojump/bin-autojump.sh.patch

12 lines
397 B
Diff

--- a/bin/autojump.sh
+++ b/bin/autojump.sh
@@ -21,6 +21,6 @@
source ~/.autojump/share/autojump/autojump.${shell}
# check global install
-elif [ -s /usr/local/share/autojump/autojump.${shell} ]; then
- source /usr/local/share/autojump/autojump.${shell}
+elif [ -s @TERMUX_PREFIX@/share/autojump/autojump.${shell} ]; then
+ source @TERMUX_PREFIX@/share/autojump/autojump.${shell}
fi