with_my.example

This commit is contained in:
Dima Gerasimov 2019-09-17 21:39:18 +04:00
parent 10e1ef7187
commit 8cc8d412f0
2 changed files with 18 additions and 0 deletions

8
README.md Normal file
View file

@ -0,0 +1,8 @@
# Usage
```
cp with_my.example with_my
# edit path to your private configuration now:
vim with_my
```
TODO add instructions to try it?

10
with_my.example Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
THISDIR="$(dirname "$0")"
PREV=""
if [[ -n $PYTHONPATH ]]; then
PREV=":$PYTHONPATH"
fi
export PYTHONPATH="$THISDIR$PREV"
exec "$@"