diff --git a/commacd.sh b/commacd.sh index 7465516..1310cdf 100644 --- a/commacd.sh +++ b/commacd.sh @@ -180,7 +180,7 @@ _commacd_backward_vcs_root() { while ! _commacd_marked "$dir"; do dir="${dir%/*}" if [[ -z "$dir" ]]; then - echo -n "$PWD" + echo -n "$PWD/.." return fi done