mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
b9a158d4fc
Improve __fisher_name name resolution from paths or URLs more accurately. Now correctly process names paths such as fisher-plugin-*, fisher-theme-* and other permutations.
7 lines
137 B
Fish
7 lines
137 B
Fish
function __fisher_name
|
|
sed -E '
|
|
s|.*/(.*)|\1|
|
|
s/(plugin|omf-theme|theme|pkg|omf|fish|fisher|fisherman)-//g
|
|
'
|
|
end
|