summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/.config/znt/n-options.conf
diff options
context:
space:
mode:
authorSebastian Gniazdowski <sgniazdowski@gmail.com>2016-04-30 15:16:00 +0200
committerSebastian Gniazdowski <sgniazdowski@gmail.com>2016-05-16 16:29:17 +0200
commite2d157d5895717e983e5cc4e5df792a6a5dbe0ac (patch)
treec3b11213c62fc7d7e805efa3374a45d601de0031 /plugins/zsh-navigation-tools/.config/znt/n-options.conf
parent19769fded2d95b1e81a72ee7ebd3d9bd53f0d422 (diff)
downloadzsh-e2d157d5895717e983e5cc4e5df792a6a5dbe0ac.tar.gz
zsh-e2d157d5895717e983e5cc4e5df792a6a5dbe0ac.tar.bz2
zsh-e2d157d5895717e983e5cc4e5df792a6a5dbe0ac.zip
znt: update to v2.1.15
Diffstat (limited to 'plugins/zsh-navigation-tools/.config/znt/n-options.conf')
-rw-r--r--plugins/zsh-navigation-tools/.config/znt/n-options.conf35
1 files changed, 32 insertions, 3 deletions
diff --git a/plugins/zsh-navigation-tools/.config/znt/n-options.conf b/plugins/zsh-navigation-tools/.config/znt/n-options.conf
index 98f4625f1..29c5e089a 100644
--- a/plugins/zsh-navigation-tools/.config/znt/n-options.conf
+++ b/plugins/zsh-navigation-tools/.config/znt/n-options.conf
@@ -1,5 +1,34 @@
# 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_options_active_text
+active_text=${znt_options_active_text:-$active_text}
+
+# 2. znt_options_nlist_coloring_pattern
+NLIST_COLORING_PATTERN=${znt_options_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
+
+# 3. znt_options_nlist_coloring_color
+NLIST_COLORING_COLOR=${znt_options_nlist_coloring_color:-$NLIST_COLORING_COLOR}
+
+# 4. znt_options_nlist_coloring_match_multiple
+NLIST_COLORING_MATCH_MULTIPLE=${znt_options_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
+
+# 5. znt_options_keywords (array)
+if (( ${+znt_options_keywords} )); then
+ keywords=( "${znt_options_keywords[@]}" )
+fi