Fix shellcheck warning. SC1090

pull/1872/head
John Fred Fadrigalan 2021-04-20 15:59:16 +08:00
parent e7968638f8
commit 46e775dd5f
No known key found for this signature in database
GPG Key ID: 4C23960F72FC911F
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +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
source "$tmp_file" && command rm -f "$tmp_file" source "$tmp_file" && command rm -f "$tmp_file"
} }