File: disable-clap_complete_nushell.patch

package info (click to toggle)
atuin 18.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,656 kB
  • sloc: sql: 304; sh: 274; makefile: 14
file content (23 lines) | stat: -rw-r--r-- 782 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Disable clap_complete_nushell which in uninstallable.
 nushell itself is also not packaged.
Forwarded: not-needed
Last-Update: 2025-03-02
--- a/crates/atuin/Cargo.toml
+++ b/crates/atuin/Cargo.toml
@@ -67 +67 @@
-clap_complete_nushell = "4.5.4"
+#clap_complete_nushell = "4.5.4"
--- a/crates/atuin/src/command/gen_completions.rs
+++ b/crates/atuin/src/command/gen_completions.rs
@@ -3 +3 @@
-use clap_complete_nushell::Nushell;
+//use clap_complete_nushell::Nushell;
@@ -16 +16 @@
-    Nushell,
+    //Nushell,
@@ -32 +32 @@
-            Self::Nushell => Nushell.file_name(name),
+            //Self::Nushell => Nushell.file_name(name),
@@ -46 +46 @@
-            Self::Nushell => Nushell.generate(cmd, buf),
+            //Self::Nushell => Nushell.generate(cmd, buf),