Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/NullSense/fuzzy-sys
Utility tool for using systemctl interactively
https://github.com/NullSense/fuzzy-sys
fuzzy fzf fzf-plugin systemctl systemd systemd-unit utility
Last synced: 3 months ago
JSON representation
Utility tool for using systemctl interactively
- Host: GitHub
- URL: https://github.com/NullSense/fuzzy-sys
- Owner: NullSense
- License: unlicense
- Created: 2021-01-11T15:38:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T08:24:23.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T16:08:13.056Z (6 months ago)
- Topics: fuzzy, fzf, fzf-plugin, systemctl, systemd, systemd-unit, utility
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 125
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
:vertical_traffic_light: fuzzy-sys
Utility for using systemctl interactively via junegunn/fzf.## :package: Installation
**Make sure you have [fzf](https://github.com/junegunn/fzf) installed**
```zsh
# 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
# bash / zsh
source <(curl -sSL git.io/JteMq)
```## :star: Features
All commands support multi selection via Tab.
```bash
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
--stop : systemctl stop
--restart : systemctl restart
--status : systemctl status
--edit : systemctl edit --full
--enable : systemctl enable --now
--disable : systemctl disable --now
--journal : journalctl -f -u
--help : print this message and exitExamples:
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](https://asciinema.org/a/390806.svg)](https://asciinema.org/a/390806)
## Similar projects
[sysz](https://github.com/joehillen/sysz) very well written and improved version of my script, good job :)