_ __ _ _ _ __ _ __ | '__| | | | '_ \| '_ \ | | | |_| | | | | | | | |_| \__,_|_| |_|_| |_|
Make your own terminal aliases easily!
Runn is a command line tool which help you to make your own terminal aliases easily.
You need to install node package manager to runn this!
- npm
$ npm install npm@latest -g
- Install the NPM packages
$ npm i -g runnit
- Save it
$ runn cu "curl https://raw.githubusercontent.com/shalithasuranga/runn/master/bin/runn.js"
$ runn cu
- After setting up, You may follow these steps. (*You can add your alias from anywhere in the directory)
- I am adding two git commands to aliases.
a) First lets add "git add ." to an alias called "gaa"
$ runn gaa "git add ."
b) Now lets add our second alias for "git push origin master" as "gpom"
$ runn gpom "git push origin master"
- Now your new aliases are added. To use this you need to change your directory to a Github project directory.
a) Using gaa alias
$ runn gaa
*You can see that your files are staged.
b) Using gpom alias
$ runn gpom
*Your commits will push to origin master
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.
Made with contributors-img.