From 5c2e771705f8f9eca76af1132ab15bd25fa09d02 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Thu, 20 Jun 2024 01:21:57 -0600 Subject: [PATCH] termux --- shell/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/bashrc b/shell/bashrc index 0a1c144..6f35579 100644 --- a/shell/bashrc +++ b/shell/bashrc @@ -54,7 +54,7 @@ short_time() { } short_path() { - curr_path="$(pwd | sed 's/\/home\/[A-Za-z]*/~/g;s/\/data\/data\/com.termux\/files\/home/~/g')" + curr_path="$(pwd | sed 's/\/data\/data\/com\.termux\/files\/home/~/g;s/\/home\/[A-Za-z]*/~/g')" if [ "${#curr_path}" -gt 25 ] ; then curr_path="${curr_path##*/}" if git rev-parse --is-inside-work-tree >/dev/null 2>&1 ; then