Skip to content

Commit

Permalink
completions: fix dependency to awk
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed Oct 29, 2023
1 parent 3c889fd commit 232d0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/distrobox
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ _generate_from_help() {
[[ ${command} != *"list"* ]] && [[ ${command} != *"assemble"* ]]; then
while IFS= read -r line; do
list+="$line "
done < <(distrobox-list --no-color | tail -n+2 | awk '{print $3}')
done < <(distrobox-list --no-color | tail -n+2 | cut -d'|' -f2)
COMPREPLY=($(compgen -W "${list}" "${cur}"))
return 0
fi
Expand Down

0 comments on commit 232d0a2

Please sign in to comment.