mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 03:20:38 +02:00
rename update-installer to simple update
This commit is contained in:
parent
33f71917d9
commit
41d692a4c1
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
_update_installer()
|
||||
_update()
|
||||
{
|
||||
local cur prev OPTS
|
||||
COMPREPLY=()
|
||||
|
@ -13,7 +13,7 @@ _update_installer()
|
|||
esac
|
||||
case $cur in
|
||||
*)
|
||||
OPTS="$(update-installer | grep '\-[a-z]' | cut -d ' ' -f2 | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g")"
|
||||
OPTS="$(update | grep '\-[a-z]' | cut -d ' ' -f2 | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g")"
|
||||
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
|
@ -21,4 +21,4 @@ _update_installer()
|
|||
compopt -o bashdefault -o default
|
||||
return 0
|
||||
}
|
||||
complete -F _update_installer update-installer
|
||||
complete -F _update update
|
Loading…
Reference in a new issue