pretty-alias
A CLI tool to display shell aliases with syntax highlighting, supporting bash, zsh, and fish shells.
Features
- Detects user's shell and reads the appropriate config file.
- Displays shell aliases in a scrollable table with syntax highlighting.
- Supports
bash, zsh, and fish shells.
Installation
Via bash script
curl -fsSL https://raw.githubusercontent.com/sharon-xa/pretty-alias/main/install.sh | sudo sh
Via go install
go install github.com/sharon-xa/pretty-alias@latest
Usage
Run the executable:
pretty-alias
Use the following keys for navigation:
q or ctrl+c: Quit
up: Scroll up
down: Scroll down
Dependencies
License
This project is licensed under the MIT License.