Added TODO for dropping brew search's cache desc_cache.json
This commit is contained in:
parent
f2dce55aae
commit
149f95eb9e
@ -93,6 +93,7 @@ function __fish_brew_suggest_formulae_all -d 'Lists all available formulae with
|
|||||||
set -q __brew_cache_path
|
set -q __brew_cache_path
|
||||||
or set -gx __brew_cache_path (brew --cache)
|
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"
|
if test -f "$__brew_cache_path/desc_cache.json"
|
||||||
__fish_brew_ruby_parse_json "$__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")) }'
|
'.each{ |k, v| puts([k, v].reject(&:nil?).join("\t")) }'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user