From bd08882fc8807154929410e72813b70bec9b689c Mon Sep 17 00:00:00 2001 From: twoneis Date: Fri, 21 Mar 2025 19:38:36 +0100 Subject: [PATCH] nicer ll --- modules/utils/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/modules/utils/default.nix b/modules/utils/default.nix index 9106eba..ed2bde3 100644 --- a/modules/utils/default.nix +++ b/modules/utils/default.nix @@ -78,7 +78,15 @@ in { functions = { run = { - body = "nix run nixpkgs#$argv[1] -- $argv[2..]"; + body = '' + nix run nixpkgs#$argv[1] -- $argv[2..] + ''; + }; + + init_dev = { + body = '' + + ''; }; fish_prompt = { @@ -87,6 +95,8 @@ in { }; shellAbbrs = { + ll = "ls --almost-all --ignore-backups --literal --human-readable --time-style=long-iso -l"; + ga = "git add"; gc = "git commit"; gp = "git push"; @@ -94,10 +104,9 @@ in { gpl = "git pull --recurse-submodules"; gst = "git status"; - repl = "nix repl --expr 'import {}'"; - nrb = "sudo nixos-rebuild switch --cores 0 --flake ."; nd = "nix develop"; + repl = "nix repl --expr 'import {}'"; }; }; };