Terrascope logo Proba-V MEP logo
This forum applies to Terrascope and Proba-V MEP. Please note that the forum is in English only.
Please log in using the link in the top menu to add new forum topics or comments.

~/.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?

Comments

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

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.
Restez à jour
Inscrivez-vous
Des Nouvelles perspectives

Restez à jour