forked from professional-projects/aliasme
Added a line to the help menu to make sure the aliases.sh file is sourced.
aliasme - @NinjaSurge Version
A shell script to organize your alias in command line.
Installation
- download script
mkdir ~/.aliasme
curl https://raw.githubusercontent.com/Jintin/aliasme/master/aliasme.sh > ~/.aliasme/aliasme.sh
- add alias to your startup script (ex: ~/.bash_profile, ~/.bashrc)
echo "source ~/.aliasme/aliasme.sh" >> ~/.bash_profile
Usage
$ al add [name] [command] # add alias command with name
$ al rm [name] # remove alias by name
$ al ls # list all alias
$ al [name] # execute alias associate with [name]
$ al -v # version information
$ al -h # help
Contributing
Bug reports and pull requests are welcome on GitHub at https://gitea.computersurge.dev/ninjasurge/aliasme.
License
The module is available as open source under the terms of the MIT License.
@NinjaSurge's Modifications
- Now uses the environment variable
ALIASME_DIRfor the projects working directory. This variable defaults to~/.aliasmeif it is unset in the environment.
Huge Thanks to Jintin and his original project
Description
Languages
Shell
99.3%
Makefile
0.7%