mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-03 15:40:27 +00:00
7e4b800b65
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
|