From af120ab348f2e1a5a39dec035ed9dcf84189a64e Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 3 Oct 2022 21:42:20 +0530 Subject: dotfiles --- .../zsh-navigation-tools/.config/znt/n-env.conf | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 zsh/oh-my-zsh/plugins/zsh-navigation-tools/.config/znt/n-env.conf (limited to 'zsh/oh-my-zsh/plugins/zsh-navigation-tools/.config/znt/n-env.conf') diff --git a/zsh/oh-my-zsh/plugins/zsh-navigation-tools/.config/znt/n-env.conf b/zsh/oh-my-zsh/plugins/zsh-navigation-tools/.config/znt/n-env.conf new file mode 100644 index 0000000..85dda05 --- /dev/null +++ b/zsh/oh-my-zsh/plugins/zsh-navigation-tools/.config/znt/n-env.conf @@ -0,0 +1,38 @@ +# How should be current element of the list drawn. Possible values: reverse, +# underline. +# On Linux virtual terminal this will be enforced to reverse (because of poor +# underline support on that terminal). The same for screen/tmux. +local active_text=reverse + +# (#s) is ^, (#e) is $, # is *, ## is + (comparing to regex) +local NLIST_COLORING_PATTERN="[a-zA-Z0-9_]##" +local NLIST_COLORING_MATCH_MULTIPLE=0 + + + + + + + +# +# Zshrc integration. All below variables can +# be set in zshrc and will have precedence +# over config files +# + +# 1. znt_env_active_text +active_text=${znt_env_active_text:-$active_text} + +# 2. znt_env_nlist_coloring_pattern +NLIST_COLORING_PATTERN=${znt_env_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN} + +# 3. znt_env_nlist_coloring_color +NLIST_COLORING_COLOR=${znt_env_nlist_coloring_color:-$NLIST_COLORING_COLOR} + +# 4. znt_env_nlist_coloring_match_multiple +NLIST_COLORING_MATCH_MULTIPLE=${znt_env_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE} + +# 5. znt_env_keywords (array) +if (( ${+znt_env_keywords} )); then + keywords=( "${znt_env_keywords[@]}" ) +fi -- cgit v1.2.3-59-g8ed1b