A simple shell written in python.
You can add aliases and functions in a file called hrmrc.py
in your home directory. These will then be accessible by your hrmsh session.
In order to make an alias, first initiate the alias dictionaryi (in hrmrc.py
):
alias = {}
Then add any aliases that you want, like this:
alias['la'] = 'ls -a'
alias['up'] = 'cd ..'
Functions are not fully functioning (pun intended) in that they can not be piped yet. It i however
possible to do functions where the result does not have to be piped into another application.
Example (in hrmrc.py
):
def say_hello():
print("hello")