aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/shell-integration/nushell
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libghostty-vt/src/shell-integration/nushell')
-rw-r--r--vendor/libghostty-vt/src/shell-integration/nushell/vendor/autoload/ghostty.nu2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/shell-integration/nushell/vendor/autoload/ghostty.nu b/vendor/libghostty-vt/src/shell-integration/nushell/vendor/autoload/ghostty.nu
index b2731f8a..1f6716f9 100644
--- a/vendor/libghostty-vt/src/shell-integration/nushell/vendor/autoload/ghostty.nu
+++ b/vendor/libghostty-vt/src/shell-integration/nushell/vendor/autoload/ghostty.nu
@@ -6,6 +6,7 @@ export module ghostty {
# Wrap `ssh` with `ghostty +ssh` and translate the shell-integration
# feature flags into command options.
+ @complete external
export def --wrapped ssh [...args] {
if not ((has_feature "ssh-env") or (has_feature "ssh-terminfo")) {
^ssh ...$args
@@ -24,6 +25,7 @@ export module ghostty {
}
# Wrap `sudo` to preserve Ghostty's TERMINFO environment variable
+ @complete external
export def --wrapped sudo [...args] {
mut sudo_args = $args