Revert "Linuxbrew won't have casks"

This reverts commit 13389ca8c53fdf649d1f9b7b9ba7d38e31baa438.

In case we can extract a common function or stuff.
This commit is contained in:
Kid 2021-01-08 17:36:38 +08:00
parent 13389ca8c5
commit c57b65fdb8

View File

@ -18,7 +18,7 @@ homebrew-casks() {
-maxdepth 4 -path '*/Casks/*.rb' | \
sed "$sed_extended_regex_flag" \
-e 's/\.rb//g' \
-e 's_.*/Taps/(.*)/homebrew-_\1/_' \
-e 's_.*/Taps/(.*)/(home|linux)brew-_\1/_' \
-e 's|/Casks/|/|' \
)"
local shortnames