diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-15 00:05:58 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-15 00:05:58 +1200 |
commit | 582fd3b69868f12fc14f0fbefb81521445b075fa (patch) | |
tree | 4ef35adb0287df3e7fd38d0976ae172b2c60d914 /bash/bashrc.d/pass.bash | |
parent | Remove -d option from edda(1) mktemp(1) call (diff) | |
download | dotfiles-582fd3b69868f12fc14f0fbefb81521445b075fa.tar.gz dotfiles-582fd3b69868f12fc14f0fbefb81521445b075fa.zip |
Terser `read -rd ''` idiom
Diffstat (limited to 'bash/bashrc.d/pass.bash')
-rw-r--r-- | bash/bashrc.d/pass.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/pass.bash b/bash/bashrc.d/pass.bash index 28484761..47f9effe 100644 --- a/bash/bashrc.d/pass.bash +++ b/bash/bashrc.d/pass.bash @@ -14,7 +14,7 @@ _pass() # and filter them down to the ones matching the completing word (compgen # doesn't seem to do this properly with a null delimiter) local entry - while IFS= read -d '' -r entry ; do + while IFS= read -rd '' entry ; do COMPREPLY[${#COMPREPLY[@]}]=$entry done < <( |