From 8b4fd047d9dfdbd6b6c70b8631970b4ad74d87aa Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 19 Sep 2024 19:42:23 -0500 Subject: [PATCH] fish: make some abbrevations no longer anywhere Signed-off-by: Myned --- options/custom/programs/fish.nix | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/options/custom/programs/fish.nix b/options/custom/programs/fish.nix index 797eaae..849c55c 100644 --- a/options/custom/programs/fish.nix +++ b/options/custom/programs/fish.nix @@ -82,20 +82,6 @@ in { "/r" = any "/run"; "/rc" = any "/run/current-system"; - reboot = any "systemctl reboot"; - restart = any "systemctl reboot"; - poweroff = any "systemctl poweroff"; - shutdown = any "systemctl poweroff"; - - backup = any "borgmatic -v 1 create --progress --stats"; - extract = any "borgmatic -v 1 extract --progress"; - init = any "borgmatic init -e repokey-blake2"; - key = any "borgmatic key export"; - list = any "borgmatic -v 1 list"; - restore = any "borgmatic -v 1 restore"; - - rsync = any "rsync --info=progress2"; - jc = any "journalctl"; jcs = any "journalctl --system"; jcse = any "journalctl --system --pager-end"; @@ -175,6 +161,20 @@ in { ip = "tailscale ip --4"; + reboot = "systemctl reboot"; + restart = "systemctl reboot"; + poweroff = "systemctl poweroff"; + shutdown = "systemctl poweroff"; + + backup = "borgmatic -v 1 create --progress --stats"; + extract = "borgmatic -v 1 extract --progress"; + init = "borgmatic init -e repokey-blake2"; + key = "borgmatic key export"; + list = "borgmatic -v 1 list"; + restore = "borgmatic -v 1 restore"; + + rsync = "rsync --info=progress2"; + n = "nixos"; nb = "nixos build"; nbb = "nixos build boot";