Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nthnd/muc
Visualize your most used commands
https://github.com/nthnd/muc
cli rust unixporn
Last synced: 3 days ago
JSON representation
Visualize your most used commands
- Host: GitHub
- URL: https://github.com/nthnd/muc
- Owner: nthnd
- License: other
- Archived: true
- Created: 2022-10-13T11:37:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-25T10:16:00.000Z (about 1 year ago)
- Last Synced: 2024-12-04T08:37:36.964Z (about 2 months ago)
- Topics: cli, rust, unixporn
- Language: Rust
- Homepage:
- Size: 193 KB
- Stars: 223
- Watchers: 2
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MUC
Visualize your most used commands![scrot](images/scrot.png)
## Usage
### Installing
#### Arch users (AUR)
Use your favorite AUR helper to install [muc-git](https://aur.archlinux.org/packages/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.
```sh
nix run github:nate-sys/muc
```#### Other distros
```sh
cargo install --git=https://github.com/nate-sys/muc
```### Running
muc uses your $HISTFILE environment variable to get your history
```sh
muc # Bash or Vanilla zsh
muc --shell ohmyzsh # ohmyzsh
muc --shell fish # Fish
muc --regexp # 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
- [X] Colors
- [X] Customizable bar
- [ ] Resolve aliases
- [ ] Recognize leader commands (sudo, doas, git, etc)