dont show file suffix

This commit is contained in:
Rasmus Steinke 2016-05-24 23:41:38 +02:00
parent b45065ab3b
commit 1b6b4a76ef

View File

@ -385,7 +385,7 @@ manageEntry () {
} }
listgpg () { 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 () { insertPass () {