1.0.2 • Published 11 months ago

alias-manager v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

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

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago