aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/vis.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-15 00:05:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-15 00:05:58 +1200
commit582fd3b69868f12fc14f0fbefb81521445b075fa (patch)
tree4ef35adb0287df3e7fd38d0976ae172b2c60d914 /bash/bashrc.d/vis.bash
parentRemove -d option from edda(1) mktemp(1) call (diff)
downloaddotfiles-582fd3b69868f12fc14f0fbefb81521445b075fa.tar.gz
dotfiles-582fd3b69868f12fc14f0fbefb81521445b075fa.zip
Terser `read -rd ''` idiom
Diffstat (limited to 'bash/bashrc.d/vis.bash')
-rw-r--r--bash/bashrc.d/vis.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/vis.bash b/bash/bashrc.d/vis.bash
index 0a0d861e..17c89ca8 100644
--- a/bash/bashrc.d/vis.bash
+++ b/bash/bashrc.d/vis.bash
@@ -4,7 +4,7 @@ _vis() {
local vispath
vispath=${VISPATH:-$HOME/.local/bin}
[[ -d $vispath ]] || return
- while IFS= read -d '' -r executable ; do
+ while IFS= read -rd '' executable ; do
COMPREPLY[${#COMPREPLY[@]}]=$executable
done < <(
shopt -s dotglob nullglob