summaryrefslogtreecommitdiff
path: root/fish/functions/ccp.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/functions/ccp.fish')
-rw-r--r--fish/functions/ccp.fish7
1 files changed, 1 insertions, 6 deletions
diff --git a/fish/functions/ccp.fish b/fish/functions/ccp.fish
index c2cba62..c1db6d0 100644
--- a/fish/functions/ccp.fish
+++ b/fish/functions/ccp.fish
@@ -1,8 +1,3 @@
function ccp
- begin
- if not isatty stdin
- read
- end
- cat $argv
- end | fish_clipboard_copy
+ cat $argv | fish_clipboard_copy
end