|
|
|
|
@ -1,11 +1,11 @@ |
|
|
|
|
autoload colors |
|
|
|
|
colors |
|
|
|
|
|
|
|
|
|
local h1="$fg_bold[cyan]" |
|
|
|
|
local h1="$fg_bold[magenta]" |
|
|
|
|
local h2="$fg_bold[green]" |
|
|
|
|
local h3="$fg_bold[blue]" |
|
|
|
|
local h4="$fg_bold[yellow]" |
|
|
|
|
local h5="$fg_bold[magenta]" |
|
|
|
|
local h5="$fg_bold[cyan]" |
|
|
|
|
local rst="$reset_color" |
|
|
|
|
|
|
|
|
|
LESS="-iRc" less <<<" |
|
|
|
|
@ -93,4 +93,43 @@ start. This is a way to have handy set of bookmarks prepared in private |
|
|
|
|
history's file. |
|
|
|
|
|
|
|
|
|
Private history is instantly shared among sessions. |
|
|
|
|
|
|
|
|
|
${h1}Zshrc integration${rst} |
|
|
|
|
|
|
|
|
|
There are 5 standard configuration variables that can be set in zshrc: |
|
|
|
|
|
|
|
|
|
${h4}znt_history_active_text${rst} |
|
|
|
|
\"underline\" or \"reverse\" - how should be active element highlighted |
|
|
|
|
${h4}znt_history_nlist_coloring_pattern${rst} |
|
|
|
|
Pattern that can be used to colorize elements |
|
|
|
|
${h4}znt_history_nlist_coloring_color${rst} |
|
|
|
|
Color with which to colorize via the pattern |
|
|
|
|
${h4}znt_history_nlist_coloring_match_multiple${rst} |
|
|
|
|
Should multiple matches be colorized (${h2}\"0\"${rst} or ${h2}\"1\"${rst}) |
|
|
|
|
${h4}znt_history_keywords ${h2}(array)${rst} |
|
|
|
|
Search keywords activated with Ctrl-X, F2, Ctrl-/, e.g. ( ${h2}\"git\"${rst} ${h2}\"vim\"${rst} ) |
|
|
|
|
|
|
|
|
|
Above variables will work for n-history tool. For other tools, change |
|
|
|
|
\"_history_\" to e.g. \"_cd_\", for the n-cd tool. The same works for |
|
|
|
|
all 8 tools. |
|
|
|
|
|
|
|
|
|
Common configuration of the tools uses variables with \"_list_\" in them: |
|
|
|
|
|
|
|
|
|
${h4}znt_list_bold${rst} |
|
|
|
|
Should draw text in bold (${h2}\"0\"${rst} or ${h2}\"1\"${rst}) |
|
|
|
|
${h4}znt_list_colorpair${rst} |
|
|
|
|
Main pair of colors to be used, e.g ${h2}\"green/black\"${rst} |
|
|
|
|
${h4}znt_list_border${rst} |
|
|
|
|
Should draw borders around windows (${h2}\"0\"${rst} or ${h2}\"1\"${rst}) |
|
|
|
|
${h4}znt_list_themes ${h2}(array)${rst} |
|
|
|
|
List of themes to try out with Ctrl-T, e.g. ( ${h2}\"white/black/1\"${rst} |
|
|
|
|
${h2}\"green/black/0\"${rst} ) |
|
|
|
|
${h4}znt_list_instant_select${rst} |
|
|
|
|
Should pressing enter in search mode leave tool (${h2}\"0\"${rst} or ${h2}\"1\"${rst}) |
|
|
|
|
|
|
|
|
|
If you used ZNT before v2.1.12 then remove old configuration files |
|
|
|
|
${h3}~/.config/znt/*.conf${rst} so that ZNT can update them to the latest versions |
|
|
|
|
that support integration with Zshrc. If you used installer then run it |
|
|
|
|
again (after the remove of configuration files), that is not needed when |
|
|
|
|
using as plugin. |
|
|
|
|
" |
|
|
|
|
|