Skip to content

Commit 403f939

Browse files
committed
plugins/alias: remove old SC2154 flag
This is no logner needed because the `local` keyword was moved higher up in the function.
1 parent 12bc998 commit 403f939

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugins/available/alias-completion.plugin.bash

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ function alias_completion {
4141
# shellcheck disable=SC2162
4242
while read line; do
4343
eval "alias_tokens=($line)" 2> /dev/null || continue # some alias arg patterns cause an eval parse error
44-
# shellcheck disable=SC2154 # see `eval` above
4544
alias_name="${alias_tokens[0]}" alias_cmd="${alias_tokens[1]}" alias_args="${alias_tokens[2]# }"
4645

4746
# skip aliases to pipes, boolean control structures and other command lists

0 commit comments

Comments
 (0)