mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 20:17:45 +00:00
Fix deprecation warnings
This commit is contained in:
parent
b3532173c2
commit
782b655b37
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
kitty @ set-spacing padding=0
|
kitty @ set-spacing padding=0
|
||||||
}
|
}
|
||||||
|
|
||||||
^hx $arguments
|
^hx ...$arguments
|
||||||
|
|
||||||
if ($env.TERM | str contains "kitty") {
|
if ($env.TERM | str contains "kitty") {
|
||||||
kitty @ set-spacing padding=${toString theme.padding}
|
kitty @ set-spacing padding=${toString theme.padding}
|
||||||
|
|
|
@ -147,7 +147,7 @@ $env.config.completions = {
|
||||||
|
|
||||||
let command = $tokens.0 | str trim --left --char "^"
|
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) {
|
if ($completions | is-empty) {
|
||||||
let path = $tokens | last
|
let path = $tokens | last
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue