regisbsb / aliasr

Create permanent command-line shortcuts & aliases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

aliasr

Create permanent command-line shortcuts & aliases

aliasr is a Node script that persists aliases between sessions so you don't have to set them up each time.

Installation

$ npm i -g aliasr

Available commands

add <ALIAS_NAME> <COMMAND>
remove <ALIAS_NAME>
update <ALIAS_NAME> <COMMAND>
list
delete-backups
add-standards (Adds a few common commands)
help

Example usage

$ aliasr add hi echo Hello World!

What aliases can I add?

How about some of the following?

aliasr agi sudo apt-get install
aliasr ll ls -Alh
aliasr gp git pull
aliasr cw cd c:\work\
aliasr h history
aliasr hg history | grep
aliasr ns npm run start

Acknowledgements

aliasr uses pathmgr.cmd and UpdateEnvVariable.exe to ease the additions to the PATH variable in Windows.

About

Create permanent command-line shortcuts & aliases

License:MIT License


Languages

Language:Batchfile 77.3%Language:JavaScript 22.7%