summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-22 21:51:28 +0300
committerChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-22 21:51:28 +0300
commit9ef8a2f1f9fac91678edec8fd74bcf73bda30a4a (patch)
tree1e426ff355a32dff54316bdd36daf80fef3cbdba
parent9c02c6e4d8c7400c4a68a672548e8597a5d6c99f (diff)
Missed one variable name change
There's always that one pesky variable name you forget to change...
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index dfa6e4e8..e65a82e0 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -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"