mirror of
https://github.com/wting/autojump
synced 2026-03-02 03:49:26 +00:00
Fixed issue: Command "jc" doesn't jump correctly if sibling directories have same prefix
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user