From efa444df3da6d22d97ab19c3de5bac6881ddd300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Fri, 23 May 2025 13:43:31 +0200 Subject: [PATCH] fish: remove environment helper --- .../common/fish/functions/activate-nix-env.fish | 11 ----------- .../common/fish/functions/deactivate-nix-env.fish | 11 ----------- 2 files changed, 22 deletions(-) delete mode 100644 nix/homeModules/common/fish/functions/activate-nix-env.fish delete mode 100644 nix/homeModules/common/fish/functions/deactivate-nix-env.fish diff --git a/nix/homeModules/common/fish/functions/activate-nix-env.fish b/nix/homeModules/common/fish/functions/activate-nix-env.fish deleted file mode 100644 index 2d494481..00000000 --- a/nix/homeModules/common/fish/functions/activate-nix-env.fish +++ /dev/null @@ -1,11 +0,0 @@ -function activate-nix-env \ - --description "Add a nix environment into path" - ### Arguments: - if [ (count $argv) -ne 1 ] - echo "Must provide exactly one argument, the path to be added" - return 1 - end - set env_name $argv[1] - - fish_add_path --global "$HOME/.environments/$argv[1]/bin" -end diff --git a/nix/homeModules/common/fish/functions/deactivate-nix-env.fish b/nix/homeModules/common/fish/functions/deactivate-nix-env.fish deleted file mode 100644 index 76b1e519..00000000 --- a/nix/homeModules/common/fish/functions/deactivate-nix-env.fish +++ /dev/null @@ -1,11 +0,0 @@ -function deactivate-nix-env \ - --description "Remove a nix environment from path" - ### Arguments: - if [ (count $argv) -ne 1 ] - echo "Must provide exactly one argument, the path to be removed" - return 1 - end - set env_name $argv[1] - - fish_remove_path "$HOME/.environments/$argv[1]/bin" -end