diff options
| author | Suleyman Farajli <suleyman@farajli.net> | 2026-01-10 18:25:51 +0400 |
|---|---|---|
| committer | Suleyman Farajli <suleyman@farajli.net> | 2026-01-10 18:25:51 +0400 |
| commit | 5ead7f7397890bd1de3817773bbd5016371a6701 (patch) | |
| tree | c470f63679435d443a56549e35d077a14c9827fd /config/shell/profile | |
| parent | 212e2cc803b44fac7d1fe8234a06533bbe4a6af7 (diff) | |
feat(shell/profile): add go directoriesdev
Diffstat (limited to 'config/shell/profile')
| -rw-r--r-- | config/shell/profile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/shell/profile b/config/shell/profile index f561eee..8d3ef21 100644 --- a/config/shell/profile +++ b/config/shell/profile @@ -18,6 +18,12 @@ export BASHRC="${HOME}/.bashrc" export ZSHRC="${HOME}/.zshrc" export XINITRC="${XDG_CONFIG_HOME}/x11/xinitrc" +export GOPATH="$XDG_DATA_HOME/go" +export GOMODCACHE="$XDG_CACHE_HOME/go/mod" +export GOCACHE="$XDG_CACHE_HOME/go/build" + +export PATH="$PATH:$GOPATH/bin" + mkdir -p "${XDG_BIN_DIR}" export PATH="${XDG_BIN_DIR}:${PATH}" |
