Change shellcheck source to /dev/null for explicity

pull/1872/head
John Fred Fadrigalan 2021-04-22 00:48:31 +08:00
parent 46e775dd5f
commit 84bf2b5dc8
No known key found for this signature in database
GPG Key ID: 4C23960F72FC911F
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ function alias_completion {
echo "$new_completion" >> "$tmp_file" echo "$new_completion" >> "$tmp_file"
fi fi
done < <(alias -p | sed -Ene "s/$alias_regex/\2 '\3' '\4'/p") done < <(alias -p | sed -Ene "s/$alias_regex/\2 '\3' '\4'/p")
# shellcheck disable=SC1090 # shellcheck source=/dev/null
source "$tmp_file" && command rm -f "$tmp_file" source "$tmp_file" && command rm -f "$tmp_file"
} }