GithubHelp home page GithubHelp logo

nullsense / fuzzy-sys Goto Github PK

View Code? Open in Web Editor NEW
124.0 6.0 5.0 29 KB

Utility tool for using systemctl interactively

License: The Unlicense

Shell 100.00%
fzf fzf-plugin systemd systemd-unit systemctl fuzzy utility

fuzzy-sys's Introduction

๐Ÿšฆ 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

Similar projects

sysz very well written and improved version of my script, good job :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.