Closed d-e-s-o closed 3 years ago
When set -u is in effect, i.e., expansion of undefined variables causes an exit of the current shell, the mpc completion script seizes to work. This change fixes the issue by guarding the access to the command variable accordingly.
set -u
command
When
set -u
is in effect, i.e., expansion of undefined variables causes an exit of the current shell, the mpc completion script seizes to work. This change fixes the issue by guarding the access to thecommand
variable accordingly.