File tree 4 files changed +36
-13
lines changed
4 files changed +36
-13
lines changed Original file line number Diff line number Diff line change 5
5
# No shame; Just aliens, UFOs, cows, and crazy nonsense shenanigans.
6
6
7
7
# alias seshh='~/Code/Prs/sesh/sesh'
8
- # export GOPATH=$HOME/go
9
- # PATH=~/go/bin:$PATH
10
8
11
9
# Stuff from oh-my-zsh
12
10
# Changing/making/removing directory
Original file line number Diff line number Diff line change
1
+ # ------------------------------------------------------------------------------
2
+ # Paths for go development
3
+ # ------------------------------------------------------------------------------
4
+
5
+ # Note: We can check all of Go's env vars by running `go env`
6
+
7
+ # Note: Relying on GOPATH isn't recommended for modern go development anymore
8
+ # Since Go 1.11, use go modules conventions instead!
9
+ # export GOPATH=$HOME/.go
10
+
11
+ # Make GOBIN hidden, for utils like errcheck, etc.
12
+ export GOBIN=$HOME /.go/bin
13
+
14
+ # Ensure GOMODCACHE also gets stored in custom .go dir
15
+ export GOMODCACHE=$HOME /.go/pkg/mod
16
+
17
+ # Add our custom GOBIN to runtime path
18
+ PATH=$HOME /.go/bin:$PATH
19
+
20
+
21
+ # ------------------------------------------------------------------------------
22
+ # Aliases and functions for go development
23
+ # ------------------------------------------------------------------------------
24
+
25
+ # alias gt="go test ./..."
Original file line number Diff line number Diff line change
1
+ # ------------------------------------------------------------------------------
2
+ # Paths for web development
3
+ # ------------------------------------------------------------------------------
4
+
5
+ PATH=./node_modules/.bin:$PATH
6
+ PATH=~ /.composer/vendor/bin:$PATH
7
+ PATH=./vendor/bin:$PATH
8
+
9
+
1
10
# ------------------------------------------------------------------------------
2
11
# Aliases and functions for web development
3
12
# ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 8
8
9
9
10
10
# ------------------------------------------------------------------------------
11
- # Global
11
+ # Dotfiles
12
12
# ------------------------------------------------------------------------------
13
13
14
14
DOTFILES=" $HOME /.dotfiles"
15
+ PATH=$DOTFILES /bin:$PATH
15
16
16
17
17
18
# ------------------------------------------------------------------------------
@@ -42,16 +43,6 @@ antidote load $DOTFILES/zsh/bundles
42
43
eval " $( starship init zsh) "
43
44
44
45
45
- # ------------------------------------------------------------------------------
46
- # Paths
47
- # ------------------------------------------------------------------------------
48
-
49
- PATH=$DOTFILES /bin:$PATH
50
- PATH=./node_modules/.bin:$PATH
51
- PATH=~ /.composer/vendor/bin:$PATH
52
- PATH=./vendor/bin:$PATH
53
-
54
-
55
46
# ------------------------------------------------------------------------------
56
47
# Helpers
57
48
# ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments