diff --git a/src/functions.sh b/src/functions.sh index a5455fd..30bacc2 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -202,10 +202,8 @@ function shunpo_jump_to_parent_dir() { for ((i = start_index; i < end_index; i++)); do if [[ $i -eq $((end_index - 1)) && $current_page -eq $((last_page - 1)) ]]; then echo -e "[${SHUNPO_BOLD}${SHUNPO_ORANGE}$((i - start_index))${SHUNPO_RESET}] $(basename ${parent_dirs[i]})" - elif [[ $i -eq $start_index && $current_page -eq 0 ]]; then - echo -e "[${SHUNPO_BOLD}${SHUNPO_ORANGE}$((i - start_index))${SHUNPO_RESET}] $(basename ${parent_dirs[i]})" else - echo -e "[${SHUNPO_BOLD}${SHUNPO_ORANGE}$((i - start_index))${SHUNPO_RESET}] $(basename ${parent_dirs[i]})/" + echo -e "[${SHUNPO_BOLD}${SHUNPO_ORANGE}$((i - start_index))${SHUNPO_RESET}] /$(basename ${parent_dirs[i]})" fi done