mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Fixed issue: Command "jc" doesn't jump correctly if sibling directories have same prefix
This commit is contained in:
parent
833dcca408
commit
1d31f720f4
@ -93,7 +93,7 @@ function jc {
|
|||||||
if [[ ${@} == -* ]]; then
|
if [[ ${@} == -* ]]; then
|
||||||
j ${@}
|
j ${@}
|
||||||
else
|
else
|
||||||
j $(pwd) ${@}
|
j $(pwd)/ ${@}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ function jc {
|
|||||||
if [[ ${@} == -* ]]; then
|
if [[ ${@} == -* ]]; then
|
||||||
j ${@}
|
j ${@}
|
||||||
else
|
else
|
||||||
j $(pwd) ${@}
|
j $(pwd)/ ${@}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user