mirror of
https://github.com/nushell/nushell.git
synced 2025-04-25 05:38:20 +02:00
add an example of a failing clip call with broken dependencies
This commit is contained in:
parent
8e4b8eb28c
commit
58c227e8ff
@ -433,6 +433,14 @@ def check-clipboard [
|
|||||||
#
|
#
|
||||||
# put huge structured data in the clipboard, but silently
|
# put huge structured data in the clipboard, but silently
|
||||||
# >_ open Cargo.toml --raw | from toml | clip --silent
|
# >_ open Cargo.toml --raw | from toml | clip --silent
|
||||||
|
#
|
||||||
|
# when the clipboard system command is not installed
|
||||||
|
# >_ "mm this is fishy..." | clip
|
||||||
|
# Error:
|
||||||
|
# × clipboard_not_found:
|
||||||
|
# │ you are using xorg as a graphical server
|
||||||
|
# │ but
|
||||||
|
# │ the xclip clipboard command was not found on your system.
|
||||||
export def clip [
|
export def clip [
|
||||||
--silent: bool # do not print the content of the clipboard to the standard output
|
--silent: bool # do not print the content of the clipboard to the standard output
|
||||||
--no-notify: bool # do not throw a notification (only on linux)
|
--no-notify: bool # do not throw a notification (only on linux)
|
||||||
|
Loading…
Reference in New Issue
Block a user