The problem is that I wrote a bash script that handle files. If I add this script to bashrc I can't find the file. I could write the absolute path but I would like to compress the directory and send it to others. It could be so bad if no one could use my script because the path. The project looks like: DIR A
- Script
- ReadMe
- DIR B
- Python Script
- File
The Script call the Python script and the Python script read from the File. I would like to call the Script as an enviroment variable from anywhere but I can't because it can't find the Python script and the file. Is there a way to call the script like it is in the directory next to DIR B? Like a realpath or I don't know.