mirror of
https://github.com/systemd/systemd.git
synced 2025-10-23 23:34:02 +03:00
bash-completion: unify indentation
This commit is contained in:
@@ -28,7 +28,7 @@ __contains_word () {
|
|||||||
__get_machines() {
|
__get_machines() {
|
||||||
local a b
|
local a b
|
||||||
(machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; echo ".host") | \
|
(machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; echo ".host") | \
|
||||||
{ while read a b; do echo " $a"; done; } | sort -u;
|
{ while read a b; do echo " $a"; done; } | sort -u;
|
||||||
}
|
}
|
||||||
|
|
||||||
__syslog_priorities=(emerg alert crit err warning notice info debug)
|
__syslog_priorities=(emerg alert crit err warning notice info debug)
|
||||||
@@ -77,7 +77,7 @@ _journalctl() {
|
|||||||
;;
|
;;
|
||||||
--field|-F)
|
--field|-F)
|
||||||
comps=$(journalctl --fields | sort 2>/dev/null)
|
comps=$(journalctl --fields | sort 2>/dev/null)
|
||||||
;;
|
;;
|
||||||
--machine|-M)
|
--machine|-M)
|
||||||
comps=$( __get_machines )
|
comps=$( __get_machines )
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user