Files
indra/scripts/cdwork.sh
2023-06-26 15:44:03 +01:00

7 lines
234 B
Bash
Executable File

#!/usr/bin/bash
# populate ~/.workpath thus: `cd path/to/repo/root; pwd>~/.workpath
export INDRAROOT=$(cat ~/.workpath)
export PATH=$INDRAROOT/scripts:$PATH
# put the path of the root of the repository in ./scripts/path
cd $INDRAROOT