golang: replace fish abbrs with shell aliases
Alan Pearce alan@alanpearce.eu
Sat, 30 Nov 2024 18:46:16 +0100
1 files changed, 7 insertions(+), 4 deletions(-)
M user/settings/development/golang.nix → user/settings/development/golang.nix
@@ -15,6 +15,13 @@ ]; home.sessionPath = [ "$HOME/go/bin" ]; + home.shellAliases = { + gom = "go mod"; + gomt = "go mod tidy"; + gomd = "go mod download"; + gog = "go get"; + gogu = "go get -u"; + }; home.sessionVariables.GOTOOLCHAIN = "local"; # use installed go tools programs.emacs.extraPackages = epkgs: (with epkgs; [ go-eldoc @@ -24,8 +31,4 @@ ]); programs.neovim.plugins = with pkgs.vimPlugins; [ coc-go ]; - programs.fish.shellAbbrs = { - gmt = "go mod tidy"; - gmd = "go mod download"; - }; }