aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-07-15 00:47:38 +0200
committerRasmus Steinke <rasi@xssn.at>2017-07-15 00:47:38 +0200
commit33174cc5494509bfb231519d6ba9f8e02f35507c (patch)
tree885f66e03909844564e1f48d8cc4d882ae030369
parent0ed16e869a25c4a707bd7393aeeb061304ab90d8 (diff)
downloadrofi-pass-33174cc5494509bfb231519d6ba9f8e02f35507c.tar.gz
sort entries alphabetically. Thanks alexzeitgeist. #75
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 6ea1995..e388678 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -50,7 +50,7 @@ umask 077
list_passwords() {
cd "${root}" || exit
- find -L . -iname '*.gpg' -printf '%P\n' | \
+ find -L . -iname '*.gpg' -printf '%P\n' | sort -n | \
while read -r filename; do
echo "${filename%.gpg}"
done