Skip to content

Commit

Permalink
Added TODO for dropping brew search's cache desc_cache.json
Browse files Browse the repository at this point in the history
  • Loading branch information
lwolfsonkin committed Jun 11, 2019
1 parent f2dce55 commit 149f95e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions completions/fish/brew.fish
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ function __fish_brew_suggest_formulae_all -d 'Lists all available formulae with
set -q __brew_cache_path
or set -gx __brew_cache_path (brew --cache)

# TODO: Probably drop this since I think that desc_cache.json is no longer generated. Is there a different available cache?
if test -f "$__brew_cache_path/desc_cache.json"
__fish_brew_ruby_parse_json "$__brew_cache_path/desc_cache.json" \
'.each{ |k, v| puts([k, v].reject(&:nil?).join("\t")) }'
Expand Down

0 comments on commit 149f95e

Please sign in to comment.