added helpers to work with ssh shell

This commit is contained in:
херетик
2023-06-16 10:09:45 +01:00
parent 773f3487da
commit 90a3e15baa
3 changed files with 10 additions and 0 deletions

4
scripts/cdwork Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/zsh
cd /home/loki/work/loki/indra-labs/indra
export PATH=/home/loki/work/loki/indra-labs/indra/scripts:$PATH
zsh

3
scripts/test.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env zsh
reset
go test -v -tags local -gcflags "all=-trimpath=/home/loki/work/loki/indra-labs/indra" $1 $2 $3 $4 $5

3
scripts/testpkg.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env zsh
cd pkg
go test -v -tags local -gcflags "all=-trimpath=/home/loki/work/loki/indra-labs/indra" ./...