1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-21 22:27:08 +00:00
termux-packages/packages/autojump/bin-autojump.sh.patch
2022-12-03 02:07:31 +00:00

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