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

scripts

populate ~/.workpath thus: cd path/to/repo/root; pwd>~/.workpath

add this to your ~/.bashrc or ~/.zshrc:

export PATH=$(cat ~/.workpath)/scripts:$HOME/sdk/go1.19.10/bin:$PATH 
export GOBIN=$HOME/.local/bin

source the rc file or open a new terminal session and type cdwork.sh and you will have a number of useful commands that handle paths and special build parameters to make the code locations work without hard coding them anywhere.