back to bash, cos who uses zsh

This commit is contained in:
loki
2023-06-26 15:44:03 +01:00
parent 8b39e8ac3e
commit bb2401d614
7 changed files with 7 additions and 8 deletions

View File

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

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env zsh #!/usr/bin/env bash
reset reset
go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5 go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env zsh #!/usr/bin/env bash
reset reset
go run -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5 go run -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env zsh #!/usr/bin/env bash
reset reset
go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5 go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env zsh #!/usr/bin/env bash
reset reset
go test -v -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5 go test -v -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env zsh #!/usr/bin/env bash
cd pkg cd pkg
go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" ./... go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" ./...

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env zsh #!/usr/bin/env bash
reset reset
go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 --logs-level=trace $2 $3 $4 $5 go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 --logs-level=trace $2 $3 $4 $5