commit 56a06abe796510f92c4c69cde0016ed79e67ce76
parent 95dabaab0712c65c478a56ef25dda1add4741921
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 30 May 2018 15:28:52 -0400
Hide initial / in pass completion
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/.zshrc b/links/.zshrc
@@ -212,7 +212,7 @@ _fzf_complete_pass() {
stringsize="${#pwdir}"
find "$pwdir" -name "*.gpg" -print |
cut -c "$((stringsize + 1))"- |
- sed -e 's/\(.*\)\.gpg/\1/'
+ sed -e 's/\/\(.*\)\.gpg/\1/'
)
}