alias-manager

1.0.2 • Public • Published

alias-manager

manage your zsh alias.

NPM version

am can help you easy and fast set and use your alias, now support: zsh.

Install

$ npm install -g alias-manager

Example

am add <alias-name> <alias-value> <alias-desc>

$ am add halo 'code /Users' open

Successfully inserted line 'alias halo="code /Users" # open' into file .zshrc.

# can find in .zhsrc
# alias halo="code /Users" # open

am ls

$ am ls  // select alias to run

❯ open ----- "code /Users"  alias: halo

am remove <alias-desc>

$ am remove open

Successfully remove line 'open' in file .zshrc.

Usage

Usage: am <command> [options]

Options:
  -V, --version                                 output the version number
  -h, --help                                    display help for command

Commands:
  ls                                            select alias
  add <alias-name> <alias-value> <alias-desc>>  add alias
  remove <alias-name>>                          remove alias

Notice

am add does not check if it already exists.

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i alias-manager

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

9.33 kB

Total Files

14

Last publish

Collaborators

  • dloux