From 480eea2e7228aae237bb305439b17d0133daab1c Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Sun, 15 Feb 2026 18:05:36 +0100 Subject: [PATCH] add mosh --- modules/common/packages.nix | 4 ++++ modules/common/ripgrep.nix | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/common/packages.nix b/modules/common/packages.nix index c567bed..eedaada 100644 --- a/modules/common/packages.nix +++ b/modules/common/packages.nix @@ -49,8 +49,12 @@ in { fastfetch carapace bat + + mosh ]) ++ optionals (pkgs ? bat-extras && pkgs.bat-extras ? core) [ pkgs.bat-extras.core ]; + + environment.shellAliases.mosh = "mosh --no-init"; } diff --git a/modules/common/ripgrep.nix b/modules/common/ripgrep.nix index 9a7f4f7..249a1fa 100644 --- a/modules/common/ripgrep.nix +++ b/modules/common/ripgrep.nix @@ -2,8 +2,8 @@ environment.shellAliases = { todo = /* sh */ ''rg "todo|fixme" --colors match:fg:yellow --colors match:style:bold''; todos = /* sh */ "nvim ~/todo.md"; - bgr = "batgrep"; - brg = "batgrep"; + bgr = /* sh */ "batgrep"; + brg = /* sh */ "batgrep"; }; home-manager.sharedModules = [{