Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added golist alias
  • Loading branch information
eko committed Jun 21, 2018
1 parent 8d3eefc commit 080b096
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .aliases
Expand Up @@ -25,6 +25,9 @@ alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
alias doc="docker-compose"
alias doce="docker-compose exec"

# Golang list imports recursively in a project
alias golist='go list -f "$(printf '"'"'{{.ImportPath}}:\n{{range .Imports}} {{.}}\n{{end}}'"'"')" ${1+"$@"}'

# DNS
alias dnsclear="dscacheutil -flushcache && sudo killall -HUP mDNSResponder"

Expand Down

0 comments on commit 080b096

Please sign in to comment.