This commit is contained in:
J. Brandt Buckley 2013-02-20 20:36:53 -08:00
commit 10c9099677
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ _ack() {
_ack_types_caching_policy() { _ack_types_caching_policy() {
# Rebuild if ackrc more recent than cache. # 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. # Rebuild if cache is older than one week.
local -a oldp local -a oldp