Skip to content

๐Ÿš€ register new bash aliases and functions with ease.

License

Notifications You must be signed in to change notification settings

papaemmelab/alie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.