Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samtebbs33/mkalias

A java app that makes bash aliases for you!
https://github.com/samtebbs33/mkalias

Last synced: about 1 month ago
JSON representation

A java app that makes bash aliases for you!

Awesome Lists containing this project

README

        

# MkAlias
A java app that makes bash aliases for you!

Please note that it will only work on UNIX based systems, or perhaps programs that emulate one (not tested).

# Contents
* Features
* Installation
* Usage

Features
==========================
* Automatically creates a new alias for you
* The aliases can be stored in a file of your choice (soon!)
* List all previously created aliases (soon!)

Installation
==========================
Please note that this app only works on unix based systems! (It may work with unix shell emulators however)
* Download the a jar file from the **Releases** tab and place in any directory
* Enter the following command, replacing _dir_ with the path to the current directory

```
$ alias mkalias='java -jar dir/MkAlias.jar'
```

Usage
==========================
* Enter the following command, replacing _name_ with the alias name and _command_ with the command it should execute (You'll have to surround it with speech marks if the command contains spaces).
```
$ mkalias name command
```

* Now start a new bash session or reload your *.bash_profile* file. You will now be able to use the alias!