fix: if inside a local package, allow installing with: . or ./; close #513

This commit is contained in:
Jorge Bucaran 2019-01-21 15:36:30 +09:00
parent 6401d18504
commit 61f679e6a3
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -115,7 +115,7 @@ function _fisher_ls
end
function _fisher_fmt
command sed "s|^[[:space:]]*||;s|^$fisher_config/||;s|^$HOME|~|;s|^\.\/|$PWD/|;s|^github\.com/||;s|^https*://||;s|/*\$||"
command sed "s|^[[:space:]]*||;s|^$fisher_config/||;s|^$HOME|~|;s|^\.\/*|$PWD/|;s|^github\.com/||;s|^https*://||;s|/*\$||"
end
function _fisher_version -a file