From 2e17f1351b7acde4c275925e2d8e80fd8da787a1 Mon Sep 17 00:00:00 2001 From: joy Date: Tue, 5 Nov 2024 22:59:59 +0100 Subject: [PATCH] su --- modules/programs/zsh/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/programs/zsh/default.nix b/modules/programs/zsh/default.nix index 90aeab3..14ecb8d 100644 --- a/modules/programs/zsh/default.nix +++ b/modules/programs/zsh/default.nix @@ -14,8 +14,9 @@ v = "hx"; cat = "bat"; lg = "${pkgs.lazygit}/bin/lazygit"; - ser = "ssh root@joygnu.org"; - hs = "ssh joy@yt.joygnu.org"; + rs = "z ~ && ssh root@joygnu.org"; + hs = "z ~ && ssh joy@yt.joygnu.org"; + su = "z ~ && su"; ip = "sh ~/nix/modules/programs/zsh/scripts/ip.sh"; rb = "sh ~/nix/modules/programs/zsh/scripts/rebuild.sh"; fr = "doas systemctl reboot --firmware";