1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-17 10:10:07 +00:00

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

View file

@ -738,7 +738,7 @@ prompt_dir() {
current_path=$(truncatePath "$current_path" $POWERLEVEL9K_SHORTEN_DIR_LENGTH $POWERLEVEL9K_SHORTEN_DELIMITER) current_path=$(truncatePath "$current_path" $POWERLEVEL9K_SHORTEN_DIR_LENGTH $POWERLEVEL9K_SHORTEN_DELIMITER)
;; ;;
truncate_with_folder_marker) 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 local last_marked_folder marked_folder
set_default POWERLEVEL9K_SHORTEN_FOLDER_MARKER ".shorten_folder_marker" set_default POWERLEVEL9K_SHORTEN_FOLDER_MARKER ".shorten_folder_marker"