1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 04:41:57 +00:00
Commit graph

13 commits

Author SHA1 Message Date
the.brain.w
55e4e6c73b
feat(systemd): add support for user units in prompt () 2022-12-30 11:52:18 +01:00
scrouthtv
116fc2feaa
fix(systemd): enable --user on restart command ()
`restart` is a unit-related command, not power-related, so it should appear as `sc-restart=sudo systemctl restart` and `scu-restart=systemctl --user restart`
2021-12-30 10:44:57 +01:00
scrouthtv
5b2f99bcb7
fix(systemd): remove sudo from power-related aliases () 2021-12-29 10:31:29 +01:00
Jon
bcc3ee8ce8
systemd: remove newline from systemd prompt () 2020-03-25 10:02:00 +01:00
Sir Mobus Gochfulshigan Dorphin Esquire XXIII
eeb49bf5b0
systemd: add prompt function to show systemd units' status ()
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-18 23:04:14 +01:00
Petr Šabata
bfec31666a
systemd: refactor and add latest commands ()
* Order systemctl commands alphabetically

Simplifying the plugin maintenance.

Signed-off-by: Petr Šabata <contyk@redhat.com>

* Include the latest systemctl commands

Based on systemd-233.  I'm still keeping the old, now unsupported
commands for backwards compatibility as well.

Signed-off-by: Petr Šabata <contyk@redhat.com>

* Add daemon-reload ()

Closes 
Co-authored-by: Javier Tia <javier.tia@gmail.com>
2020-02-10 19:16:02 +01:00
Sumit Sahrawat
b743ce9224 Add scu-* aliases for 'systemctl --user' commands () 2018-08-19 21:39:58 +02:00
Ben Cole
2d7a451e0e Add list-timers to systemd user commands ()
This is useful for listing "cron like" systemd jobs
2016-06-05 22:43:59 -07:00
Robby Russell
2522ab4504 Merge pull request from DoctorJellyface/patch-1
Added --now systemd aliases
2015-10-09 07:19:54 -07:00
Juraj Fiala
86d881c47d Added aliases for --now commands
Also removed the old sc-launch alias because this is just better.
2015-09-06 13:01:09 +02:00
Juraj Fiala
800af047d7 Add sc-launch as a shortcut for start & enable
I've heard many people requesting systemd to add this functionality. It's very handy under Arch.
2015-08-01 17:45:00 +02:00
Boris Avdeev
5554207279 Add alias for "systemctl cat" and "systemctl edit" 2015-07-31 15:05:07 +03:00
Augusto Rocha Elesbão
58d904a289 Added systemd plugin with aliases for systemctl commands. 2012-10-01 11:29:06 -03:00