From 6433f2616c71761fe7d3d94d153849e10d978ed0 Mon Sep 17 00:00:00 2001 From: Luna Komorebi Date: Wed, 2 Oct 2024 00:23:33 +0200 Subject: [PATCH] gopath --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index 3edf4d9..2583d77 100644 --- a/.zshrc +++ b/.zshrc @@ -202,6 +202,10 @@ if iscmd tldr; then alias tldrf='tldr --list | fzf --preview "tldr {1} --color=always" --preview-window=right,70% | xargs tldr' fi +if iscmd go; then + export GOPATH=$HOME/.local/go +fi + DISABLE_MAGIC_FUNCTIONS=true source $OTHER/func.zsh source "$plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"