aboutsummaryrefslogtreecommitdiff
path: root/pw
diff options
context:
space:
mode:
authorAnirudh Oppiliappan <x@icyphox.sh>2022-01-06 10:06:39 +0530
committerAnirudh Oppiliappan <x@icyphox.sh>2022-01-06 10:06:39 +0530
commit3a51aba377f05e93b053a5cc693289ea157b4c44 (patch)
tree26db082333e91a80922b8b8135f313cd9202742f /pw
parent2b87c05c6e3773f299a566323756fac133cab6bc (diff)
downloadpw-3a51aba377f05e93b053a5cc693289ea157b4c44.tar.gz
Faster pw -l
Diffstat (limited to 'pw')
-rwxr-xr-xpw4
1 files changed, 1 insertions, 3 deletions
diff --git a/pw b/pw
index 0f541ae..0b2ea6b 100755
--- a/pw
+++ b/pw
@@ -51,9 +51,7 @@ add() {
51} 51}
52 52
53list() { 53list() {
54 for f in "$PW_DIR"/*.gpg; do 54 (cd "$PW_DIR"; find *.gpg)
55 printf '%s\n' "$(basename "${f%.gpg}")"
56 done
57} 55}
58 56
59del() { 57del() {