aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-05-27 14:31:15 +0200
committerRasmus Steinke <rasi@xssn.at>2016-05-27 14:31:15 +0200
commit3345fcc18c0a6849614684c735b2ee944a753346 (patch)
treec56b11736983cb08569c7178e8dfd76673ead141
parent4d588306eca5975b11e2d783c6ceb867d43e29ef (diff)
downloadrofi-pass-3345fcc18c0a6849614684c735b2ee944a753346.tar.gz
dont show groups for files in root directory
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index cdd8350..4a86331 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -385,7 +385,7 @@ manageEntry () {
}
listgpg () {
- find . -name \*.gpg -print | cut -c 3- | while read line; do echo -e "${line##*/}\t(In: ${line%%/*})"; done | column -s $'\t' -t
+ find . -name \*.gpg -print | cut -c 3- | while read line; do echo -e "${line##*/}\t(In: ${line%%/*})"; done | sed 's/(.*.gpg)$//g' | sed 's/.gpg\t/\t/g' | column -s $'\t' -t
}
insertPass () {