From 1b6b4a76ef19d0bb505991a1b48383bac6ed210e Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Tue, 24 May 2016 23:41:38 +0200 Subject: [PATCH] dont show file suffix --- rofi-pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rofi-pass b/rofi-pass index 69d150a..80eea3d 100755 --- a/rofi-pass +++ b/rofi-pass @@ -385,7 +385,7 @@ manageEntry () { } listgpg () { - find . -name \*.gpg -print | xargs -d '\n' -n 1 | cut -c 3- | while read line; do echo -e "$(basename "${line}")\t(In: "$(dirname "${line}")")"; done | column -s $'\t' -t + find . -name \*.gpg -print | xargs -d '\n' -n 1 | cut -c 3- | while read line; do echo -e "$(basename "${line%*.gpg}")\t(In: "$(dirname "${line}")")"; done | column -s $'\t' -t } insertPass () {