summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/.config/znt/n-aliases.conf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/zsh-navigation-tools/.config/znt/n-aliases.conf')
-rw-r--r--plugins/zsh-navigation-tools/.config/znt/n-aliases.conf34
1 files changed, 31 insertions, 3 deletions
diff --git a/plugins/zsh-navigation-tools/.config/znt/n-aliases.conf b/plugins/zsh-navigation-tools/.config/znt/n-aliases.conf
index 98f4625f1..047b017eb 100644
--- a/plugins/zsh-navigation-tools/.config/znt/n-aliases.conf
+++ b/plugins/zsh-navigation-tools/.config/znt/n-aliases.conf
@@ -1,5 +1,33 @@
# How should be current element of the list drawn. Possible values: reverse,
-# underline. Default (without option set) is reverse
+# underline.
# On Linux virtual terminal this will be enforced to reverse (because of poor
-# underline support on that terminal)
-# local active_text=underline
+# underline support on that terminal). The same for screen/tmux.
+local active_text=reverse
+
+
+
+
+
+
+#
+# Zshrc integration. All below variables can
+# be set in zshrc and will have precedence
+# over config files
+#
+
+# 1. znt_aliases_active_text
+active_text=${znt_aliases_active_text:-$active_text}
+
+# 2. znt_aliases_nlist_coloring_pattern
+NLIST_COLORING_PATTERN=${znt_aliases_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
+
+# 3. znt_aliases_nlist_coloring_color
+NLIST_COLORING_COLOR=${znt_aliases_nlist_coloring_color:-$NLIST_COLORING_COLOR}
+
+# 4. znt_aliases_nlist_coloring_match_multiple
+NLIST_COLORING_MATCH_MULTIPLE=${znt_aliases_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
+
+# 5. znt_aliases_keywords (array)
+if (( ${+znt_aliases_keywords} )); then
+ keywords=( "${znt_aliases_keywords[@]}" )
+fi