aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-19 11:11:42 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-19 11:11:42 +1300
commit84f9ddc9214401bdb7e5f6f3e5133d24b29e4917 (patch)
tree88dc8ad4a3df161792718e7718c79d17ee6d5254 /bash
parentMerge branch 'release/v3.2.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-84f9ddc9214401bdb7e5f6f3e5133d24b29e4917.tar.gz
dotfiles-84f9ddc9214401bdb7e5f6f3e5133d24b29e4917.zip
Merge branch 'release/v3.3.0'v3.3.0
* release/v3.3.0: Bump VERSION Add sh.vim mapping to insert '\'' quickly Remove now-unneeded shellcheck disable rules Follow ShellCheck's recommendation of -z over !-n Adjust PS1-PS4 reset Use exec for clearer subshell semantics Use `command` consistently, silence ShellCheck Add /j flag to :vimgrep shortcut
Diffstat (limited to 'bash')
-rw-r--r--bash/bash_completion.d/make.bash1
-rw-r--r--bash/bash_completion.d/path.bash1
2 files changed, 0 insertions, 2 deletions
diff --git a/bash/bash_completion.d/make.bash b/bash/bash_completion.d/make.bash
index 909c52fb..b3148ff1 100644
--- a/bash/bash_completion.d/make.bash
+++ b/bash/bash_completion.d/make.bash
@@ -38,7 +38,6 @@ _make() {
< <(printf '%s\n' "${line%%:*}")
# Short-circuit if there are no targets
- # shellcheck disable=SC2154
((${#targets[@]})) || exit
# Make matches behave correctly
diff --git a/bash/bash_completion.d/path.bash b/bash/bash_completion.d/path.bash
index c3bb7b80..9224506a 100644
--- a/bash/bash_completion.d/path.bash
+++ b/bash/bash_completion.d/path.bash
@@ -66,7 +66,6 @@ _path() {
< <(printf '%s\0' "$PATH")
# Print shell-quoted matching parts, null-terminated
- # shellcheck disable=SC2154
for path in "${paths[@]}" ; do
case $path in
("$2"*) printf '%q\0' "$path" ;;