/fuzzy-sys

Utility tool for using systemctl interactively

Primary LanguageShellThe UnlicenseUnlicense

🚦 fuzzy-sys

Utility for using systemctl interactively via junegunn/fzf.

📦 Installation

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.

Try it out without installing anything

If you want to try fuzzy-sys without installing it:

# bash / zsh
source <(curl -sSL git.io/JteMq)

⭐ Features

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>
    --help      : print this message and exit

Examples:
    fuzzy-sys -u --edit    : edit a user service
    fuzzy-sys --start      : start a system service

Demo

asciicast