2015-09-20 12:39:46 +00:00
|
|
|
# Hotlist
|
2016-01-07 10:06:12 +00:00
|
|
|
# Try to use $ZSH_VERSION, e.g. /usr/share/zsh/$ZSH_VERSION/functions
|
2015-09-20 12:39:46 +00:00
|
|
|
local hotlist
|
|
|
|
hotlist=(
|
2015-11-30 09:48:30 +00:00
|
|
|
~/.config/znt
|
2015-09-20 12:39:46 +00:00
|
|
|
/usr/share/zsh/site-functions
|
|
|
|
/usr/share/zsh
|
|
|
|
/usr/local/share/zsh/site-functions
|
|
|
|
/usr/local/share/zsh
|
|
|
|
/usr/local/bin
|
|
|
|
)
|
|
|
|
|
|
|
|
# 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'
|