GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FISH_CLIPBOARD_COPY(1) fish-shell FISH_CLIPBOARD_COPY(1)

fish_clipboard_copy - copy text to the system's clipboard

fish_clipboard_copy
foo | fish_clipboard_copy

The fish_clipboard_copy function copies text to the system clipboard.

If stdin is not a terminal (see isatty), it will read all input from there and copy it. If it is, it will use the current commandline, or the current selection if there is one.

It is bound to ctrl-x by default.

fish_clipboard_copy works by calling a system-specific backend. If it doesn't appear to work you may need to install yours.

Currently supported are:

  • pbcopy
  • wl-copy using wayland
  • xsel and xclip for X11
  • clip.exe on Windows.

fish_clipboard_paste - get text from the system's clipboard which does the inverse.

2024, fish-shell developers

July 5, 2025 4.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.