mirror of https://github.com/CrimsonTome/tldr.git
wl-copy: page update (#7901)
parent
97e49ad1d4
commit
3202852b03
|
@ -4,17 +4,17 @@
|
||||||
> See also: `wl-paste`.
|
> See also: `wl-paste`.
|
||||||
> More information: <https://github.com/bugaevc/wl-clipboard>.
|
> More information: <https://github.com/bugaevc/wl-clipboard>.
|
||||||
|
|
||||||
- Copy text to the clipboard:
|
- Copy the text to the clipboard:
|
||||||
|
|
||||||
`wl-copy {{text}}`
|
`wl-copy "{{text}}"`
|
||||||
|
|
||||||
- Copy the output of a command to the clipboard:
|
- Pipe the command (`ls`) output to the clipboard:
|
||||||
|
|
||||||
`{{command}} | wl-copy`
|
`{{ls}} | wl-copy`
|
||||||
|
|
||||||
- Copy for only one paste and then clear it:
|
- Copy for only one paste and then clear it:
|
||||||
|
|
||||||
`wl-copy --paste-once`
|
`wl-copy --paste-once "{{text}}"`
|
||||||
|
|
||||||
- Clear the clipboard:
|
- Clear the clipboard:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue