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