mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-19 02:02:32 +01:00
Initial commit of Zsh Navigation Tools
This commit is contained in:
parent
9c08641d7c
commit
4c292ea2b0
28 changed files with 2273 additions and 0 deletions
1
plugins/zsh-navigation-tools/.config/znt/README.txt
Normal file
1
plugins/zsh-navigation-tools/.config/znt/README.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
These are skeletons, configuration is read from ~/.config/znt/*
|
||||
5
plugins/zsh-navigation-tools/.config/znt/n-aliases.conf
Normal file
5
plugins/zsh-navigation-tools/.config/znt/n-aliases.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# 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
|
||||
25
plugins/zsh-navigation-tools/.config/znt/n-cd.conf
Normal file
25
plugins/zsh-navigation-tools/.config/znt/n-cd.conf
Normal file
|
|
@ -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'
|
||||
9
plugins/zsh-navigation-tools/.config/znt/n-env.conf
Normal file
9
plugins/zsh-navigation-tools/.config/znt/n-env.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# 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
|
||||
|
||||
# (#s) is ^, (#e) is $, # is *, ## is + (comparing to regex)
|
||||
local NLIST_COLORING_PATTERN="[a-zA-Z0-9_]##"
|
||||
local NLIST_COLORING_MATCH_MULTIPLE=0
|
||||
10
plugins/zsh-navigation-tools/.config/znt/n-functions.conf
Normal file
10
plugins/zsh-navigation-tools/.config/znt/n-functions.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Which editor to use, zed or vared
|
||||
# vared is the default
|
||||
local feditor="zed"
|
||||
# local feditor="vared"
|
||||
|
||||
# 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
|
||||
5
plugins/zsh-navigation-tools/.config/znt/n-history.conf
Normal file
5
plugins/zsh-navigation-tools/.config/znt/n-history.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# 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
|
||||
13
plugins/zsh-navigation-tools/.config/znt/n-kill.conf
Normal file
13
plugins/zsh-navigation-tools/.config/znt/n-kill.conf
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# 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 first number column and last path segment
|
||||
# This doesn't cover scripts named "[0-9]## *", which should be very rare
|
||||
# (#s) is ^, (#e) is $, # is *, ## is + (comparing to regex)
|
||||
# | is alternative, but only in ()
|
||||
local NLIST_COLORING_PATTERN="((#s) #[0-9]## |[[][^]]#](#e)|[^ 0-9/?\\\\][^/\\\\]#(#e)|[^ /\\\\]##[^0-9/\\\\ ]##[^/\\\\]#(#e))"
|
||||
local NLIST_COLORING_COLOR=$'\x1b[00;33m'
|
||||
local NLIST_COLORING_MATCH_MULTIPLE=1
|
||||
3
plugins/zsh-navigation-tools/.config/znt/n-list.conf
Normal file
3
plugins/zsh-navigation-tools/.config/znt/n-list.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Should the list (text, borders) be drawn in bold
|
||||
# Value 1 is the default
|
||||
local bold=1
|
||||
5
plugins/zsh-navigation-tools/.config/znt/n-options.conf
Normal file
5
plugins/zsh-navigation-tools/.config/znt/n-options.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# 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
|
||||
5
plugins/zsh-navigation-tools/.config/znt/n-panelize.conf
Normal file
5
plugins/zsh-navigation-tools/.config/znt/n-panelize.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue