summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/n-list-draw
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/zsh-navigation-tools/n-list-draw')
-rw-r--r--plugins/zsh-navigation-tools/n-list-draw2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/zsh-navigation-tools/n-list-draw b/plugins/zsh-navigation-tools/n-list-draw
index 1b2571fbd..2f8b1d0d5 100644
--- a/plugins/zsh-navigation-tools/n-list-draw
+++ b/plugins/zsh-navigation-tools/n-list-draw
@@ -98,7 +98,7 @@ shift 7
integer max_text_len=page_width-x_offset
[ "$bold" = "0" ] && bold="" || bold="+bold"
-[[ "$active_text" = "underline" || "$active_text" = "reverse" ]] || active_text="reverse"
+[[ "$active_text" = "underline" || "$active_text" = "reverse" ]] || local active_text="reverse"
# With Linux terminal underline won't work properly
[ "$TERM" = "linux" ] && active_text="reverse"