Skip to content

Commit 1205ed1

Browse files
committed
fix(update-alternatives): quote dirname
1 parent 35017d2 commit 1205ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/update-alternatives

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _comp_cmd_update_alternatives__installed()
1313
break
1414
fi
1515
done
16-
COMPREPLY=($(compgen -W '$(command ls $admindir)' -- "$cur"))
16+
COMPREPLY=($(compgen -W '$(command ls "$admindir")' -- "$cur"))
1717
}
1818

1919
_comp_cmd_update_alternatives()

0 commit comments

Comments
 (0)