We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75b36b2 commit adbdab8Copy full SHA for adbdab8
completions/update-alternatives
@@ -13,7 +13,7 @@ _comp_cmd_update_alternatives__installed()
13
break
14
fi
15
done
16
- _comp_compgen_split -- "$(command ls "$admindir")"
+ [[ -d $admindir ]] && _comp_compgen_split -- "$(command ls "$admindir")"
17
}
18
19
_comp_cmd_update_alternatives()
0 commit comments