Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sharon-xa/pretty-alias
Replace the alias command with pretty-alias for a more readable aliases list.
https://github.com/sharon-xa/pretty-alias
aliases bash fish go zsh
Last synced: 28 days ago
JSON representation
Replace the alias command with pretty-alias for a more readable aliases list.
- Host: GitHub
- URL: https://github.com/sharon-xa/pretty-alias
- Owner: sharon-xa
- License: mit
- Created: 2024-07-17T16:05:58.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-06T12:02:30.000Z (2 months ago)
- Last Synced: 2024-09-28T07:40:37.995Z (about 1 month ago)
- Topics: aliases, bash, fish, go, zsh
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
curl -fsSL https://raw.githubusercontent.com/sharon-xa/pretty-alias/main/install.sh | sudo sh
```## Usage
Run the executable:
```sh
pretty-alias
```Use the following keys for navigation:
- `q` or `ctrl+c`: Quit
- `up`: Scroll up
- `down`: Scroll down## Dependencies
- [Bubble Tea](https://github.com/charmbracelet/bubbletea)
- [Lip Gloss](https://github.com/charmbracelet/lipgloss)
- [Chroma](https://github.com/alecthomas/chroma)## License
This project is licensed under the MIT License.