1.0.2 • Published 3 years ago
alias-manager v1.0.2
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-managerExample
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" # openam ls
$ am ls // select alias to run
❯ open ----- "code /Users" alias: haloam 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 aliasNotice
am add does not check if it already exists.
LICENSE
MIT