From 61f679e6a36d85be1e7512b8dbe32dae47a03a74 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Mon, 21 Jan 2019 15:36:30 +0900 Subject: [PATCH] fix: if inside a local package, allow installing with: . or ./; close #513 --- fisher.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fisher.fish b/fisher.fish index 37d61d4..6a05b3d 100644 --- a/fisher.fish +++ b/fisher.fish @@ -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