Skip to content

Utility tool for using systemctl interactively

License

Notifications You must be signed in to change notification settings

Schlump/fuzzy-sys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚦 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>
    --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

Demo

asciicast

About

Utility tool for using systemctl interactively

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%