Skip to content

Commit

Permalink
Fix file list caching
Browse files Browse the repository at this point in the history
This had never been updated when we removed the dots script from the
repository itself
  • Loading branch information
evanpurkhiser committed Jul 8, 2014
1 parent 4f7b6ae commit 007a5a8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions contrib/bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,8 @@ __dots_path_comp()
#
# Accepts a variable number of arguments
__dots_cache() {
# Get the dots source path
local source_path="$(dirname "$(readlink -f "$(which dots)")")"

# Get the last updated time of the source config files
local last_update="$(find $source_path \
local last_update="$(find "$HOME/.local/etc" \
-path $source_path/.git -prune -o \
-type f -printf '%T@\n' | sort -n | tail -1)"

Expand Down

0 comments on commit 007a5a8

Please sign in to comment.