mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
zsh: suppress aliases and shell functions when calling systemctl
This prevents any errors in case the user had aliased some arguments following systemctl.
This commit is contained in:
@@ -153,7 +153,7 @@
|
||||
# @todo _systemd-run has a helper with the same name, so we must redefine
|
||||
__systemctl()
|
||||
{
|
||||
systemctl $_sys_service_mgr --full --legend=no --no-pager --plain "$@" 2>/dev/null
|
||||
command systemctl $_sys_service_mgr --full --legend=no --no-pager --plain "$@" 2>/dev/null
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user