Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

nate-sys/muc

Repository files navigation

MUC

Visualize your most used commands

scrot

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 muc use following command.

nix run github:nate-sys/muc 

Other distros

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

Running

muc uses your $HISTFILE environment variable to get your history

muc # Bash or Vanilla zsh
muc --shell ohmyzsh # ohmyzsh
muc --shell fish # Fish
muc --regexp <some regex> # parse the histfile yourself (this overrides shell)

muc -c 5 # show top 5 instead of the default 10

muc --bar "=,*,-,=" # change the appearance of the bar =*****-----=

Roadmap

  • Colors
  • Customizable bar
  • Resolve aliases
  • Recognize leader commands (sudo, doas, git, etc)

About

Visualize your most used commands

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages