Fix command "go up" goes to root
This commit is contained in:
parent
27aee4d5c9
commit
96e7746dbd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user