A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/MefitHp/alias-maker below:

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.

The Alias Maker plugin is a zsh plugin that allows you to easily create and manage custom zsh aliases from the command line.

  1. Clone the Alias Maker repository:
git clone https://github.com/MefitHp/alias-maker.git ~/.oh-my-zsh/custom/plugins/alias-maker
  1. 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:

Then just update the plugins

plugins=(plugin1 plugin2 alias-maker)
  1. Restart your zsh shell or update the shell.

The Alias Maker plugin provides the following subcommands:

amc <alias_name> <alias_command>  # Create a new custom zsh alias
amd <alias_name>                  # 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:

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:

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:

Example output:

🔧 Custom aliases found in /Users/YOUR_USER/.zshrc:
    - zshconfig → "mate ~/.zshrc"
    - ohmyzsh →"mate ~/.oh-my-zsh"

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4