alias-completion: Use 'command rm' instead of rm to avoid aliases
parent
f5753e4416
commit
1c05d71819
|
|
@ -91,5 +91,5 @@ function alias_completion {
|
|||
echo "$new_completion" >> "$tmp_file"
|
||||
fi
|
||||
done < <(alias -p | sed -Ene "s/$alias_regex/\2 '\3' '\4'/p")
|
||||
source "$tmp_file" && rm -f "$tmp_file"
|
||||
source "$tmp_file" && command rm -f "$tmp_file"
|
||||
}; alias_completion
|
||||
|
|
|
|||
Loading…
Reference in New Issue