summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2024-07-02 12:11:58 +0200
committerAlan Pearce2024-07-02 12:11:58 +0200
commit353bec45b7db62576867b884624dff3b2d933b9c (patch)
treeefeb2a11965b103ce105f05aae3041c684ed368d /user/settings
parent573457f40c06a867f9613872ab41b43e61ed81f1 (diff)
downloadnixfiles-353bec45b7db62576867b884624dff3b2d933b9c.tar.lz
nixfiles-353bec45b7db62576867b884624dff3b2d933b9c.tar.zst
nixfiles-353bec45b7db62576867b884624dff3b2d933b9c.zip
dev/go: add shell abbreviations for go mod commands
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/development/golang.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/settings/development/golang.nix b/user/settings/development/golang.nix
index 39baf910..8798fbc6 100644
--- a/user/settings/development/golang.nix
+++ b/user/settings/development/golang.nix
@@ -23,4 +23,8 @@
   programs.neovim.plugins = with pkgs.vimPlugins; [
     coc-go
   ];
+  programs.fish.shellAbbrs = {
+    gmt = "go mod tidy";
+    gmd = "go mod download";
+  };
 }