summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/.config/znt/n-cd.conf
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2015-11-30 09:50:37 +0100
committerMarc Cornellà <marc.cornella@live.com>2015-11-30 09:50:37 +0100
commitafd28bf1fc22f53c4a1af3f5836ca428affb34b3 (patch)
tree9f56960cbb4e2074d405e4be587a1658a6cc2159 /plugins/zsh-navigation-tools/.config/znt/n-cd.conf
parentfea74b4b34412cca1b0bc3ec232e5ec8c602ee8a (diff)
parent4c292ea2b023a331dcf1af5644487f2272d24a4d (diff)
downloadzsh-afd28bf1fc22f53c4a1af3f5836ca428affb34b3.tar.gz
zsh-afd28bf1fc22f53c4a1af3f5836ca428affb34b3.tar.bz2
zsh-afd28bf1fc22f53c4a1af3f5836ca428affb34b3.zip
Merge pull request #4368 from psprint/master
Update Zsh Navigation Tools plugin
Diffstat (limited to 'plugins/zsh-navigation-tools/.config/znt/n-cd.conf')
-rw-r--r--plugins/zsh-navigation-tools/.config/znt/n-cd.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/zsh-navigation-tools/.config/znt/n-cd.conf b/plugins/zsh-navigation-tools/.config/znt/n-cd.conf
new file mode 100644
index 000000000..5fcfe64fa
--- /dev/null
+++ b/plugins/zsh-navigation-tools/.config/znt/n-cd.conf
@@ -0,0 +1,25 @@
+# Hotlist
+local hotlist
+hotlist=(
+ /usr/share/zsh/site-functions
+ /usr/share/zsh
+ /usr/local/share/zsh/site-functions
+ /usr/local/share/zsh
+ /usr/local/bin
+ /usr/lib
+)
+
+# Suppress adding (to directory stack) directories visited by n-cd
+# Value 0 is the default (directories will be added to dirstack)
+local NCD_DONT_PUSHD=0
+
+# How should be current element of the list drawn. Possible values: reverse,
+# underline. Default (without option set) is reverse
+# On Linux virtual terminal this will be enforced to reverse (because of poor
+# underline support on that terminal)
+# local active_text=underline
+
+# Colorize last segments of the paths
+# (#s) is ^, (#e) is $, # is *, ## is + (comparing to regex)
+local NLIST_COLORING_PATTERN="[a-zA-Z0-9 ._-]##/#(#e)"
+local NLIST_COLORING_COLOR=$'\x1b[00;33m'