diff --git a/crates/nu-std/std/mod.nu b/crates/nu-std/std/mod.nu index 7b13a8adb0..40106a8507 100644 --- a/crates/nu-std/std/mod.nu +++ b/crates/nu-std/std/mod.nu @@ -106,6 +106,7 @@ def check-clipboard [ # - xclip on linux x11 # - wl-copy on linux wayland # - clip.exe on windows +# - termux-api on termux # # Examples: # put a simple string to the clipboard, will be stripped to remove ANSI sequences @@ -167,6 +168,10 @@ export def clip [ check-clipboard pbcopy --system macOS $input | pbcopy }, + "android" => { + check-clipboard termux-clipboard-set --system Termux + $input | termux-clipboard-set + }, _ => { error make --unspanned { msg: $"(ansi red)unknown_operating_system(ansi reset):