diff --git a/bash/bashrc/sources/40_go-command b/bash/bashrc/sources/40_go-command index 466b868..f64167f 100755 --- a/bash/bashrc/sources/40_go-command +++ b/bash/bashrc/sources/40_go-command @@ -96,6 +96,10 @@ __go_nav() { for i in "${!PWDA[@]}" do MARK=$i + if [[ "${PWDA[$i]}" =~ $ARG3 ]]; then + continue + fi + if [[ "${PWDA[$i]}" =~ $ARG3 ]]; then break fi