1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

Bash completion: no more ANSI colorcode in pathnames

Bash completion: no more ANSI colorcode in pathnames
This commit is contained in:
Excited-bore 2024-12-02 14:38:40 +01:00 committed by Luca Boccassi
parent 544df97b41
commit f6749c69a0

View File

@ -9,7 +9,7 @@
__systemctl() { __systemctl() {
local mode=$1; shift 1 local mode=$1; shift 1
systemctl $mode --full --legend=no --no-pager --plain "$@" 2>/dev/null SYSTEMD_COLORS=0 systemctl $mode --full --legend=no --no-pager --plain "$@" 2>/dev/null
} }
__systemd_properties() { __systemd_properties() {