/alie

🚀 register new bash aliases and functions with ease.

Primary LanguagePythonMIT LicenseMIT

alie

pypi badge travis badge codecov badge

Register aliases and functions with ease 👟

alie usage

Installation

Install from pip:

pip install alie

Add to your bash profile:

# make sure aliases are updated after running _alie
alie () { _alie "$@"; source ~/.alie; }

# load registered aliases on new shells
if [ -f ~/.alie ]; then
    source ~/.alie
fi

Usage

List aliases:

alie

Create new alias:

alie hello "echo hello world"

Delete alias:

alie hello

Create new function:

alie -f say 'echo "$@"'

Contributing

Contributions are welcome, and they are greatly appreciated, check our contributing guidelines!

Credits

The intellectual property of this work belongs to Memorial Sloan Kettering Cancer Center. This package was created using Cookiecutter and the [leukgen/cookiecutter-toil] project template.