mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
recently - default time, 1 week
This commit is contained in:
parent
c627871cf3
commit
7dd66fd6f0
2
_zplugin
2
_zplugin
|
|
@ -215,7 +215,7 @@ case $state in
|
|||
typeset -a timespecs
|
||||
timespecs=(
|
||||
"3 days":"code modified during last 3 days"
|
||||
"1 week":"code modified during last 7 days"
|
||||
"1 week":"code modified during last 7 days (default)"
|
||||
"1 month":"code modified during last month"
|
||||
)
|
||||
_describe -t timespecs "Time spec" timespecs && ret=0
|
||||
|
|
|
|||
|
|
@ -2983,6 +2983,7 @@ ZPLG_ZLE_HOOKS_LIST=(
|
|||
local IFS="."
|
||||
local timespec="${*// ##/.}"
|
||||
timespec="${timespec//.##/.}"
|
||||
[ -z "$timespec" ] && timespec="1.week"
|
||||
|
||||
typeset -a plugins
|
||||
plugins=( "$ZPLG_PLUGINS_DIR"/* )
|
||||
|
|
|
|||
Loading…
Reference in a new issue