diff options
Diffstat (limited to 'user/settings/development/golang.nix')
-rw-r--r-- | user/settings/development/golang.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user/settings/development/golang.nix b/user/settings/development/golang.nix index a9293a31..7fe5ad1e 100644 --- a/user/settings/development/golang.nix +++ b/user/settings/development/golang.nix @@ -12,6 +12,10 @@ golangci-lint-langserver personal.prettier-plugin-go-template ]; + home.sessionPath = [ + "$HOME/go/bin" + ]; + home.sessionVariables.GOTOOLCHAIN = "local"; # use installed go tools programs.emacs.extraPackages = epkgs: (with epkgs; [ go-eldoc go-tag @@ -20,4 +24,8 @@ programs.neovim.plugins = with pkgs.vimPlugins; [ coc-go ]; + programs.fish.shellAbbrs = { + gmt = "go mod tidy"; + gmd = "go mod download"; + }; } |