Skip to content

AkaraChen/magic-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

52 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โœจ Magic Alias โœจ

This library is not recommended because its code is entirely AI-generated.

๐Ÿช„ A simple and powerful shell alias manager

๐ŸŒŸ What is Magic Alias?

Magic Alias (command: ma) is a friendly tool that helps you create and manage shell aliases. No more typing long commands over and over again!

๐Ÿš€ Features

  • ๐Ÿ“ Create aliases easily: Turn any long command into a short one
  • ๐Ÿ“‹ List all your aliases: See all your shortcuts in one place
  • ๐Ÿ—‘๏ธ Remove aliases: Delete shortcuts you don't need anymore
  • ๐Ÿ–ฅ๏ธ Interactive UI: Nice menus make it easy to use
  • ๐Ÿ”„ Works with your shell: Automatically sets up with your terminal

๐Ÿ“ฆ Installation

# Install Magic Alias
go install github.com/akarachen/magic-alias/cmd/ma@latest

# Setup your shell automatically, with autocompletion included ๐Ÿ”‹
ma init

๐ŸŽฎ How to Use

Create a new alias

# Create with arguments
ma add g git

# Or use interactive mode
ma add

List all your aliases

ma list

Remove an alias

# Remove with arguments
ma remove g

# Or use interactive mode
ma rm

Uninstall Magic Alias

# Uninstall
ma uninstall

๐Ÿงฐ Development

This project uses:

  • Cobra for CLI commands
  • Charm for interactive UI
  • Just for development tasks

To run tests:

just test

๐Ÿ“„ License

See LICENSE for details.

About

๐Ÿช„ A simple and powerful shell alias manager

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Contributors