|
|
@ -79,10 +79,10 @@ j() {
|
|
|
|
# jump to child directory (subdirectory of current path)
|
|
|
|
# jump to child directory (subdirectory of current path)
|
|
|
|
jc() {
|
|
|
|
jc() {
|
|
|
|
if [[ ${1} == -* ]] && [[ ${1} != "--" ]]; then
|
|
|
|
if [[ ${1} == -* ]] && [[ ${1} != "--" ]]; then
|
|
|
|
autojump ${@}
|
|
|
|
autojump --child ${@}
|
|
|
|
return
|
|
|
|
return
|
|
|
|
else
|
|
|
|
else
|
|
|
|
j $(pwd) ${@}
|
|
|
|
j ${@} --child
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -122,9 +122,9 @@ jo() {
|
|
|
|
# open autojump results (child directory) in file browser
|
|
|
|
# open autojump results (child directory) in file browser
|
|
|
|
jco() {
|
|
|
|
jco() {
|
|
|
|
if [[ ${1} == -* ]] && [[ ${1} != "--" ]]; then
|
|
|
|
if [[ ${1} == -* ]] && [[ ${1} != "--" ]]; then
|
|
|
|
autojump ${@}
|
|
|
|
autojump --child ${@}
|
|
|
|
return
|
|
|
|
return
|
|
|
|
else
|
|
|
|
else
|
|
|
|
jo $(pwd) ${@}
|
|
|
|
jo ${@} --child
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|