Merge dfb3eaa2f6
into c7cdfaad3d
This commit is contained in:
commit
10c9099677
2
src/_ack
2
src/_ack
|
@ -166,7 +166,7 @@ _ack() {
|
|||
_ack_types_caching_policy() {
|
||||
|
||||
# Rebuild if ackrc more recent than cache.
|
||||
[[ -f $HOME/.ackrc && $$HOME/.ackrc -nt "$1" ]] && return 0
|
||||
[[ -f ${ACKRC:-$HOME/.ackrc} && ${ACKRC:-$HOME/.ackrc} -nt "$1" ]] && return 0
|
||||
|
||||
# Rebuild if cache is older than one week.
|
||||
local -a oldp
|
||||
|
|
Loading…
Reference in New Issue