my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
697 B

3 years ago
  1. ## completion
  2. compctl -g "*.go" gofmt # standard go tools
  3. compctl -g "*.go" gccgo # gccgo
  4. # gc
  5. for p in 5 6 8; do
  6. compctl -g "*.${p}" ${p}l
  7. compctl -g "*.go" ${p}g
  8. done
  9. unset p
  10. ## aliases
  11. alias gob='go build'
  12. alias goc='go clean'
  13. alias god='go doc'
  14. alias gof='go fmt'
  15. alias gofa='go fmt ./...'
  16. alias gofx='go fix'
  17. alias gog='go get'
  18. alias goga='go get ./...'
  19. alias goi='go install'
  20. alias gol='go list'
  21. alias gom='go mod'
  22. alias gopa='cd $GOPATH'
  23. alias gopb='cd $GOPATH/bin'
  24. alias gops='cd $GOPATH/src'
  25. alias gor='go run'
  26. alias got='go test'
  27. alias gota='go test ./...'
  28. alias goto='go tool'
  29. alias gotoc='go tool compile'
  30. alias gotod='go tool dist'
  31. alias gotofx='go tool fix'
  32. alias gov='go vet'