summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-05-31 14:08:37 +0200
committerMarc Vertes <mvertes@free.fr>2025-05-31 14:08:37 +0200
commitcd3dfb2203f091d7781fac890e039eb5ca10ade1 (patch)
tree189b092bddb803dd8d20c63f525483b07ef1f4cc
parenteedc0cd9bba63b31402884aab505a2fbab688490 (diff)
update
-rw-r--r--.bash-powerline.sh1
-rwxr-xr-xbin/g7p2
2 files changed, 2 insertions, 1 deletions
diff --git a/.bash-powerline.sh b/.bash-powerline.sh
index 6d2ee2d..dbc36c2 100644
--- a/.bash-powerline.sh
+++ b/.bash-powerline.sh
@@ -42,6 +42,7 @@ __powerline() {
else
# get tag name or short unique hash
ref=$($git_eng describe --tags --always 2>/dev/null)
+ [[ -n "$ref" ]] && ref="^$ref"
fi
[[ -n "$ref" ]] || return # not a git repo
diff --git a/bin/g7p b/bin/g7p
index f2ace87..6d6bceb 100755
--- a/bin/g7p
+++ b/bin/g7p
@@ -1,3 +1,3 @@
#!/bin/sh
-adb forward tcp:8022 tcp:8022
+adb forward tcp:8122 tcp:8022
ssh ssh://u0_a185@localhost:8022