Create shortcut commands and easily call them when needed.
npm install -g shellcut
Create shellcut example.
shellcut create hw "echo hello shellcut!"
Type this.
__hw
Because, it helps you find the existed shellcut quickly by pressing the Tab key. Other words ($, @,%, etc) are already in use or cannot be used in shell, powershell, cmd, etc.
Create new shellcut command.
shellcut create <shellcut> <original command>
Show existed shellcuts.
shellcut list
If you want to filtered by name, use option '--call' or '-c'. 'word' is used to search by contains of shellcut name condition.
shellcut list --call <word>
If you want to filtered by original comand, use option '--cmd' or '-o'. 'word' is used to search by contains of command condition.
shellcut list --cmd <word>
You can use both options.
shellcut list --call <word1> --cmd <word2>
remove existed shellcut.
shellcut remove <shellcut>