diff options
| -rwxr-xr-x | gbpm.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -122,6 +122,12 @@ cmd_set() { match="${dir}" + # exact match + if [[ "${dir##*/}" == "${1}" ]]; then + unset match_start + break + fi + # match from start of version is preferred. we assume the # version is at the beginning of the directory name or # immediately following a hyphen. this avoids unintuitive |
