Skip to content

Commit

Permalink
completion: remove unnecessary echo
Browse files Browse the repository at this point in the history
  • Loading branch information
oersen committed Mar 26, 2022
1 parent 7c46c92 commit 8e29b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/bash_completion.d/dnf
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ _dnf_commands_helper()
{
local helper_cmd="import sys; from dnf.cli import completion_helper as ch; ch.main(sys.argv[1:])"
local helper_opts="-d 0 -q -C --assumeno --nogpgcheck"
echo "$( ${__dnf_python_exec} -c "$helper_cmd" "$@" $helper_opts 2>/dev/null </dev/null )"
"${__dnf_python_exec}" -c "$helper_cmd" "$@" $helper_opts 2>/dev/null </dev/null
}

# decide "path-like?" per initial: dot (./f.rpm, ../b.rpm), / (full path) or ~
Expand Down

0 comments on commit 8e29b1b

Please sign in to comment.