about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-14 16:06:49 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-14 16:06:49 +0200
commit0142034046ddf10026bebf8fa4857d53b09f7298 (patch)
treede09ab008e9d1a1441aee5007c4b35aba1760d0e /modules
parentpkgs/aumo: Add missing dependencies (diff)
downloadnixos-config-0142034046ddf10026bebf8fa4857d53b09f7298.zip
modules/zsh: Set alias to {ll,lm} to their full path
Both of these scripts are useless in $PATH and thus can be removed from
it.
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/zs/zsh/module.nix5
-rw-r--r--modules/home.legacy/pkgs/default.nix2
2 files changed, 3 insertions, 4 deletions
diff --git a/modules/by-name/zs/zsh/module.nix b/modules/by-name/zs/zsh/module.nix
index b50e72ac..fd99031b 100644
--- a/modules/by-name/zs/zsh/module.nix
+++ b/modules/by-name/zs/zsh/module.nix
@@ -3,6 +3,7 @@
   lib,
   shell_library,
   system,
+  pkgs,
   ...
 }: let
   cfg = config.soispha.programs.zsh;
@@ -133,8 +134,8 @@ in {
         };
 
         shellAliases = {
-          ll = ". ll";
-          lm = ". lm";
+          ll = ". ${lib.getExe pkgs.ll}";
+          lm = ". ${lib.getExe pkgs.lm}";
         };
       };
     };
diff --git a/modules/home.legacy/pkgs/default.nix b/modules/home.legacy/pkgs/default.nix
index 9cb360f4..fd8b811a 100644
--- a/modules/home.legacy/pkgs/default.nix
+++ b/modules/home.legacy/pkgs/default.nix
@@ -94,8 +94,6 @@ with pkgs; let
       fd # Simple, fast and user-friendly alternative to find
       ripgrep # A search tool that combines the usability of ag with the raw speed of grep
       file # Show information about a file
-      ll # Wrapper around `lf` to automatically change the path
-      lm # Wrapper around `ll` to automatically cd to the last accessed path
     ];
 
     Programming = {