3 posts / 0 new
Last post
#1 Mon, 05/08/2019 - 12:45
kristofvt

~/.bashrc gets reset everytime

I'm trying to create aliases permanently by putting them into my ~/.bashrc file. I was instructed to do so here: https://proba-v-mep.esa.int/documentation/manuals/python-package-management However, when logging off and on again, the aliases work just once. The bashrc file gets reset and my aliases disappear. Am I doing something wrong?
Tue, 06/08/2019 - 07:08
bjanssens

~/.bashrc

Hallo Kristofvt, The "~/.bashrc" file gets managed by our tools that's is why it keeps undoing your changes. It does contain logic to still allow users to configure aliases and environment parameters, this is done by adding them into "~/.user_aliases". If this file does not exist you can create it and put your needed aliases in there. There is an open issue on our end to update the documentation on this topic. I have added the provided URL to the issue to update the reference as well. I hope this answers your question, Bart Janssens.
Tue, 06/08/2019 - 09:31 (Reply to #2)
kristofvt

Ah great, this solves the

Ah great, this solves the issue! My aliases now work perfectly. Thanks!