with_my.example
This commit is contained in:
parent
10e1ef7187
commit
8cc8d412f0
2 changed files with 18 additions and 0 deletions
8
README.md
Normal file
8
README.md
Normal 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
10
with_my.example
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
THISDIR="$(dirname "$0")"
|
||||||
|
|
||||||
|
|
||||||
|
PREV=""
|
||||||
|
if [[ -n $PYTHONPATH ]]; then
|
||||||
|
PREV=":$PYTHONPATH"
|
||||||
|
fi
|
||||||
|
export PYTHONPATH="$THISDIR$PREV"
|
||||||
|
exec "$@"
|
Loading…
Add table
Reference in a new issue