Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
b743ce92
Commit
b743ce92
authored
Aug 20, 2018
by
Sumit Sahrawat
Committed by
Marc Cornellà
Aug 19, 2018
Browse files
Add scu-* aliases for 'systemctl --user' commands (#6661)
parent
be65adc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/systemd/systemd.plugin.zsh
View file @
b743ce92
...
@@ -10,7 +10,13 @@ sudo_commands=(
...
@@ -10,7 +10,13 @@ sudo_commands=(
for
c
in
$user_commands
;
do
;
alias
sc-
$c
=
"systemctl
$c
"
;
done
for
c
in
$user_commands
;
do
;
alias
sc-
$c
=
"systemctl
$c
"
;
done
for
c
in
$sudo_commands
;
do
;
alias
sc-
$c
=
"sudo systemctl
$c
"
;
done
for
c
in
$sudo_commands
;
do
;
alias
sc-
$c
=
"sudo systemctl
$c
"
;
done
for
c
in
$user_commands
;
do
;
alias
scu-
$c
=
"systemctl --user
$c
"
;
done
for
c
in
$sudo_commands
;
do
;
alias
scu-
$c
=
"systemctl --user
$c
"
;
done
alias
sc-enable-now
=
"sc-enable --now"
alias
sc-enable-now
=
"sc-enable --now"
alias
sc-disable-now
=
"sc-disable --now"
alias
sc-disable-now
=
"sc-disable --now"
alias
sc-mask-now
=
"sc-mask --now"
alias
sc-mask-now
=
"sc-mask --now"
alias
scu-enable-now
=
"scu-enable --now"
alias
scu-disable-now
=
"scu-disable --now"
alias
scu-mask-now
=
"scu-mask --now"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment