aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-05-24 23:41:38 +0200
committerRasmus Steinke <rasi@xssn.at>2016-05-24 23:41:38 +0200
commit1b6b4a76ef19d0bb505991a1b48383bac6ed210e (patch)
tree1ad5de5c453737e6ed13832576148c978565f360
parentb45065ab3bc531442e80339b580c3d28345c5bbc (diff)
downloadrofi-pass-1b6b4a76ef19d0bb505991a1b48383bac6ed210e.tar.gz
dont show file suffix
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
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 () {