2022-12-27 12:33:37 +00:00
2022-12-27 12:17:00 +00:00
2022-12-27 12:17:00 +00:00
2022-12-26 08:20:14 +03:00
2022-12-26 08:20:14 +03:00
2022-12-27 12:18:26 +00:00
2022-12-27 12:33:37 +00:00
2022-12-27 12:33:37 +00:00
2022-12-26 17:39:56 +03:00
2022-12-27 12:10:33 +00:00

MUC

Visualize your most used commands

2022-12-27-09:06:55-screenshot

Usage

Installing

Arch users (AUR)

Use your favorite AUR helper to install muc-git package (or build manually using git and makepkg -si), for example: paru -S muc-git

Nix

You can use the outputs provided by the flake.nix inside this repository to install muc. Either with the overlays.default output for your system configuration, or the package output to imperatively install it with nix install github:nate-sys/muc or create an ad-hoc shell with nix shell github:nate-sys/muc.

To quicky run muck use following command.

nix run github:nate-sys/muc -- --file $HISTFILE --count 10 --pretty

Other distros

cargo install --git=https://github.com/nate-sys/muc

Running

muc --file $HISTFILE --count 10 --pretty                    # Bash / Zsh
muc --file $HISTFILE --count 10 --prefix="- cmd: " --pretty # Fish

muc --file $HISTFILE\
        --count 10\
        --pretty\
        --bar '*'\
        --bar-open '('\
        --bar-close ')'                                     # (******    ) 

Roadmap

  • Colors
  • Customizable bar
  • Resolve aliases
  • Recognize leader commands (sudo, doas, git, etc)
Description
No description provided
Readme 326 KiB
Languages
Rust 90.1%
Nix 9.9%