diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-01-06 10:06:39 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-01-06 10:06:39 +0530 |
commit | 3a51aba377f05e93b053a5cc693289ea157b4c44 (patch) | |
tree | 26db082333e91a80922b8b8135f313cd9202742f /pw | |
parent | 2b87c05c6e3773f299a566323756fac133cab6bc (diff) | |
download | pw-3a51aba377f05e93b053a5cc693289ea157b4c44.tar.gz |
Faster pw -l
Diffstat (limited to 'pw')
-rwxr-xr-x | pw | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -51,9 +51,7 @@ add() { | |||
51 | } | 51 | } |
52 | 52 | ||
53 | list() { | 53 | list() { |
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 | ||
59 | del() { | 57 | del() { |