Skip to content

Commit bc43132

Browse files
committed
Add Go tools and simplify PATH additions
1 parent 7a4bc49 commit bc43132

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

go/gup.conf

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
buf = github.com/bufbuild/buf/cmd/buf
2+
dlv = github.com/go-delve/delve/cmd/dlv
3+
goimports = golang.org/x/tools/cmd/goimports
4+
gomodifytags = github.com/fatih/gomodifytags
5+
goplay = github.com/haya14busa/goplay/cmd/goplay
6+
gopls = golang.org/x/tools/gopls
7+
gotests = github.com/cweill/gotests/gotests
8+
gow = github.com/mitranim/gow
9+
grpcurl = github.com/fullstorydev/grpcurl/cmd/grpcurl
10+
gup = github.com/nao1215/gup
11+
impl = github.com/josharian/impl
12+
jy = github.com/sourcegraph/jy
13+
mockgen = go.uber.org/mock/mockgen
14+
pact-go = github.com/pact-foundation/pact-go/v2
15+
protoc-gen-connect-go = connectrpc.com/connect/cmd/protoc-gen-connect-go
16+
protoc-gen-doc = github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
17+
protoc-gen-go = google.golang.org/protobuf/cmd/protoc-gen-go
18+
staticcheck = honnef.co/go/tools/cmd/staticcheck
19+
yj = github.com/sourcegraph/yj

shell/profile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,4 @@ if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
8989
fi
9090

9191
alias vim=nvim
92+
. "$HOME/.rye/env"

zsh/zshrc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ export SAVEHIST=1000000
3333
setopt autocd beep extendedglob nomatch rc_quotes
3434
unsetopt notify
3535

36-
export PATH="${HOME}/.mix/escripts:/usr/local/opt/ruby/bin:${PATH}"
37-
3836
if type rg &> /dev/null; then
3937
export FZF_DEFAULT_COMMAND='rg --files --hidden'
4038
fi
@@ -46,10 +44,7 @@ export BAT_THEME="Solarized (light)"
4644

4745
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
4846

49-
export PATH="$PATH:$HOME/.local/bin"
50-
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
51-
export PATH="/opt/homebrew/lib/ruby/gems/3.1.0/bin:$PATH"
52-
export PATH="/opt/homebrew/opt/sqlite/bin:$PATH"
47+
export PATH="/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/sqlite/bin:${HOME}/.cargo/bin:${HOME}/.codeium/windsurf/bin:${HOME}/.mix/escripts:/usr/local/opt/ruby/bin:${HOME}/.local/bin:${PATH}"
5348

5449
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
5550

@@ -75,6 +70,3 @@ fi
7570
[ -s "${HOME}/.bun/_bun" ] && source "${HOME}/.bun/_bun"
7671

7772
export EDITOR=vim
78-
79-
# Added by Windsurf
80-
export PATH="${HOME}/.codeium/windsurf/bin:$PATH"

0 commit comments

Comments
 (0)