gogrep: trim pwd
1 files changed, 2 insertions(+), 1 deletions(-) M .local/bin/gogrep
M .local/bin/gogrep => .local/bin/gogrep +2 -1
@@ 1,3 1,4 @@ #!/usr/lib/9base/bin/rc -e ifs=' ' grep '--color=always' $* `{go list -deps -f '{{range .GoFiles}}{{printf "%s/%s\n" $.Dir .}}{{end}}' ./...} | sed 's|'^$home^'|~|' ' grep '--color=always' $* `{go list -deps -f '{{range .GoFiles}}{{printf "%s/%s\n" $.Dir .}}{{end}}' ./...} | sed 's|'^`{pwd}^'/||;s|'^$home^'|~|'