Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MefitHp/alias-maker
The Alias Maker plugin is a zsh plugin that allows you to easily create and manage custom zsh aliases from the command line.
https://github.com/MefitHp/alias-maker
Last synced: about 1 month ago
JSON representation
The Alias Maker plugin is a zsh plugin that allows you to easily create and manage custom zsh aliases from the command line.
- Host: GitHub
- URL: https://github.com/MefitHp/alias-maker
- Owner: MefitHp
- License: mit
- Created: 2023-04-19T20:00:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-03T19:05:52.000Z (about 1 year ago)
- Last Synced: 2024-01-23T15:09:27.013Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - alias-maker - Allows you to easily create and manage aliases from the command line. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - alias-maker - Allows you to easily create and manage aliases from the command line. (Plugins / ZSH on Windows)
README
# Alias Maker Plugin
The Alias Maker plugin is a zsh plugin that allows you to easily create and manage custom zsh aliases from the
command line.## Installation
1. Clone the Alias Maker repository:
```
git clone https://github.com/MefitHp/alias-maker.git ~/.oh-my-zsh/custom/plugins/alias-maker
```2. Then, add `alias-maker` to your Zsh plugins list in your `.zshrc` file:
If using you're using VSCode you can open the file with the following command:
```zsh
code ~/.zshrc
```Then just update the plugins
```zsh
plugins=(plugin1 plugin2 alias-maker)
```3. Restart your zsh shell or update the shell.
```zsh
source ~/.zshrc
```## Usage
The Alias Maker plugin provides the following subcommands:
```
amc # Create a new custom zsh alias
amd # Delete an existing custom zsh alias
am --list, -l # List all custom zsh aliases defined in your .zshrc file
am --help, -h # Show help message
```### Create a new custom zsh alias
To create a new custom zsh alias, use the `amc` (Just an `alias-maker-create` shortcut) subcommand followed by
the name and command for the new alias:```
amc myalias 'ls -la'
```This will create a new zsh alias named `myalias` that executes the command `ls -la`.
### Delete an existing custom zsh alias
To delete an existing custom zsh alias, use the `amd` subcommand followed by the name of the alias:
```
amd myalias
```This will delete the `myalias` alias if it exists.
### List all custom zsh aliases
To list all custom zsh aliases defined in your `.zshrc` file, use the `am --list` subcommand:
```
am --list
```Example output:
```
🔧 Custom aliases found in /Users/YOUR_USER/.zshrc:
- zshconfig → "mate ~/.zshrc"
- ohmyzsh →"mate ~/.oh-my-zsh"
```