Missed one variable name change

There's always that one pesky variable name you forget to change...
This commit is contained in:
Christo Kotze 2018-02-22 22:51:28 +04:00
parent 9c02c6e4d8
commit 9ef8a2f1f9
1 changed files with 1 additions and 1 deletions

View File

@ -738,7 +738,7 @@ prompt_dir() {
current_path=$(truncatePath "$current_path" $POWERLEVEL9K_SHORTEN_DIR_LENGTH $POWERLEVEL9K_SHORTEN_DELIMITER)
;;
truncate_with_folder_marker)
if (( ${#num_paths} > 0 )); then # root is an exception and won't have paths
if (( ${#paths} > 0 )); then # root is an exception and won't have paths
local last_marked_folder marked_folder
set_default POWERLEVEL9K_SHORTEN_FOLDER_MARKER ".shorten_folder_marker"