mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 16:58:41 +01: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
|
||||
# >_ 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 [
|
||||
--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)
|
||||
|
Loading…
Reference in New Issue
Block a user