diff options
| -rw-r--r-- | .bash-powerline.sh | 1 | ||||
| -rwxr-xr-x | bin/g7p | 2 |
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 @@ -1,3 +1,3 @@ #!/bin/sh -adb forward tcp:8022 tcp:8022 +adb forward tcp:8122 tcp:8022 ssh ssh://u0_a185@localhost:8022 |
