1 # Sample file demonstrating an easy method for running the
2 # git sources without the need for installing.
5 # Edit the paths below and save the file as "testpath"
6 # the file will be ignored by git.
10 # $ cd dev/git/esearch
12 # $ esearch some-package
14 if [[ "$SHELL" =~ "zsh" ]]; then
15 export PATH="$(dirname $0)/../pyGPG/bin:$(dirname $0)/bin:${PATH}"
16 export PYTHONPATH="$(dirname $0)/../pyGPG/:$(dirname $0)/../ssl-fetch/:$(dirname $0)/:${PYTHONPATH}"
18 export PATH="$(dirname $BASH_SOURCE[0])/../pyGPG/bin:$(dirname $BASH_SOURCE[0])/bin:${PATH}"
19 export PYTHONPATH="$(dirname $BASH_SOURCE[0])/../pyGPG/:$(dirname $BASH_SOURCE[0])/../ssl-fetch/:$(dirname $BASH_SOURCE[0])/:${PYTHONPATH}"