From 1fe21928c76b04775f40b49b74ba91ebec1be40e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 20 Feb 2023 19:08:57 -0800 Subject: feat(home/fish): move fish's code to external files It's easier to edit / debug / test the code that way. This also add a new function (`find-ssh-agent') to find or start a new ssh agent when a shell is started. --- home/shell/fish/functions/nix-rebuild-host.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home/shell/fish/functions/nix-rebuild-host.fish') diff --git a/home/shell/fish/functions/nix-rebuild-host.fish b/home/shell/fish/functions/nix-rebuild-host.fish index 1ec7daa..02c0050 100644 --- a/home/shell/fish/functions/nix-rebuild-host.fish +++ b/home/shell/fish/functions/nix-rebuild-host.fish @@ -1,4 +1,4 @@ function nix-rebuild-host --description "rebuild the current host" - cd ~/workspace/world - sudo nixos-rebuild switch --flake . + cd ~/workspace/world + sudo nixos-rebuild switch --flake . end -- cgit v1.2.3