A simple tool to manage shell aliases
- clone the repo:
git clone [email protected]:HmzAli/aman.git
- cd into the repo
cd aman
and runpython setup.py install
- After the installation is completed, add the following line to the profile of your default shell (e.g.
bashrc
/zshrc
)
source $HOME/.aman/aliases
- Open a new shell session and type
aman
to verify installation
To add an alias:
aman <alias>=<command>
For chained commands, wrap the commands in double quotes:
aman <alias>="<command1> && <command2>...<commandn>"
For more commands, type --help
.
After adding an alias, you will need to create a new shell session for it to be activated.