diff options
Diffstat (limited to 'fish/functions/ccp.fish')
-rw-r--r-- | fish/functions/ccp.fish | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fish/functions/ccp.fish b/fish/functions/ccp.fish new file mode 100644 index 0000000..c2cba62 --- /dev/null +++ b/fish/functions/ccp.fish @@ -0,0 +1,8 @@ +function ccp + begin + if not isatty stdin + read + end + cat $argv + end | fish_clipboard_copy +end |