alias-manager
v1.0.2
Published
manage your zsh alias.
Downloads
2
Readme
alias-manager
manage your zsh alias.
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