Bug fix due to previous commit changes
This commit is contained in:
parent
96e7746dbd
commit
e751f68f20
@ -95,17 +95,19 @@ __go_nav() {
|
|||||||
LISTOF=''
|
LISTOF=''
|
||||||
for i in "${!PWDA[@]}"
|
for i in "${!PWDA[@]}"
|
||||||
do
|
do
|
||||||
MARK=$i
|
STACK=${PWDA[$i]}
|
||||||
if [[ "${PWDA[$i]}" =~ $ARG3 ]]; then
|
if [ -z "$STACK" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${PWDA[$i]}" =~ $ARG3 ]]; then
|
MARK=$i
|
||||||
|
|
||||||
|
if [ -n "$ARG3" ] && [[ "$STACK" =~ "$ARG3" ]]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${PWDA[$i]}" ]]; then
|
if [[ -n "$STACK" ]]; then
|
||||||
LISTOF="$LISTOF\n ${PWDA[$i]}";
|
LISTOF="$LISTOF\n $STACK";
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user