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

pull/531/head
Jorge Bucaran 5 years ago
parent 6401d18504
commit 61f679e6a3
No known key found for this signature in database
GPG Key ID: E54BA3C0E646DB30

@ -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

Loading…
Cancel
Save