-
Notifications
You must be signed in to change notification settings - Fork 3
Troubleshooting
lsrdg edited this page Jan 1, 2018
·
2 revisions
Me neither. There are different ways to achieve it, the simplest I am away of if by creating alias.
This way you can say: "every time I type tatoeba-karini
it actually means
python ~/path/to/tatoeba-karini.py
.
There are many different ways to achieve this. Check the documentation of your systems to find out the best way.
A common way of achieving this is by adding something like this to the bottom of
your .bashrc
file:
alias tatoeba-karini='python PATH/TO/tatoeba_karini.py'
If you use the line above, please be sure the "python" is Python 3 ($ python --version
), and adapt PATH/TO/tatoeba_karini.py
to the real location of the
python file. You need to source your .bashrc
in order to use the alias:
$ source ~/.bashrc