Utility for using systemctl interactively via junegunn/fzf.
Make sure you have fzf installed
# for zplug
zplug 'NullSense/fuzzy-sys'
# for zgen
zgen load 'NullSense/fuzzy-sys'
# for antigen
antigen bundle 'NullSense/fuzzy-sys'
# manually
# Clone the repository and source it in your shell's rc file.
If you want to try fuzzy-sys
without installing it:
# bash / zsh
source <(curl -sSL git.io/JteMq)
All commands support multi selection via Tab.
Usage: fuzzy-sys [options]
Utility for using systemctl interactively via fzf.
If no options are given fully interactive mode is launched with system service units being used.
-u : work with --user services
--start : systemctl start <unit>
--stop : systemctl stop <unit>
--restart : systemctl restart <unit>
--status : systemctl status <unit>
--edit : systemctl edit --full <unit>
--enable : systemctl enable --now <unit>
--disable : systemctl disable --now <unit>
--journal : journalctl -f -u <unit>
--help : print this message and exit
Examples:
fuzzy-sys -u --edit : edit a user service
fuzzy-sys --start : start a system service
fuzzy-sys --journal : start tailing a system service journal
sysz very well written and improved version of my script, good job :)