aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/path.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:33:33 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:33:52 +1300
commit18d31e8c13cf8ae97a16bfcf949dbae5391a47f2 (patch)
tree6519b064be49bf6a47ed139a8bdd344ca72afbdc /bash/bash_completion.d/path.bash
parentRemove unneeded local array declaration (diff)
downloaddotfiles-18d31e8c13cf8ae97a16bfcf949dbae5391a47f2.tar.gz
dotfiles-18d31e8c13cf8ae97a16bfcf949dbae5391a47f2.zip
Break up a couple of long lines
Diffstat (limited to 'bash/bash_completion.d/path.bash')
-rw-r--r--bash/bash_completion.d/path.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/bash_completion.d/path.bash b/bash/bash_completion.d/path.bash
index 9aab8488..ce494bd4 100644
--- a/bash/bash_completion.d/path.bash
+++ b/bash/bash_completion.d/path.bash
@@ -49,7 +49,8 @@ _path() {
# Complete with directories from PATH
remove)
local -a promptarr
- IFS=: read -rd '' -a promptarr < <(printf '%s\0' "$PATH")
+ IFS=: read -rd '' -a promptarr < \
+ <(printf '%s\0' "$PATH")
local part
for part in "${promptarr[@]}" ; do
case $part in