From 782b655b375df258f22656ef8fafdba8b605c0f5 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 4 Feb 2024 22:11:42 +0300 Subject: [PATCH] Fix deprecation warnings --- modules/helix.nix | 2 +- modules/nushell/configuration.nix.nu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/helix.nix b/modules/helix.nix index 2d9c16c..dcc071c 100644 --- a/modules/helix.nix +++ b/modules/helix.nix @@ -11,7 +11,7 @@ kitty @ set-spacing padding=0 } - ^hx $arguments + ^hx ...$arguments if ($env.TERM | str contains "kitty") { kitty @ set-spacing padding=${toString theme.padding} diff --git a/modules/nushell/configuration.nix.nu b/modules/nushell/configuration.nix.nu index 6c68714..7c1adff 100644 --- a/modules/nushell/configuration.nix.nu +++ b/modules/nushell/configuration.nix.nu @@ -147,7 +147,7 @@ $env.config.completions = { let command = $tokens.0 | str trim --left --char "^" - let completions = carapace $command nushell $tokens | from json | default [] + let completions = carapace $command nushell ...$tokens | from json | default [] if ($completions | is-empty) { let path = $tokens | last