Top
dotfiles
36ed9be1
dotfiles
My ~/.config directory
Summary
Refs
Commits
Files
Authored by
Anthony Wang
Authored at
2024-03-08 23:22:00 -0500
Committed by
Anthony Wang
Committed at
2024-03-08 23:22:00 -0500
Signature
View
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAg8Ms9qQOcB6WoVNS51AHxfRPvJz /x6RXeMaql4lvTraUAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQEOfHuiXo1j3LWdppWVovKnxn5vO0EenSKyDoxJZWVbhUCqcM6XBwdrtuS/JrVLvWk hU0BJMi20D7kxKrEu1xgI= -----END SSH SIGNATURE-----
Object name
36ed9be1a70988011694d43aa6d93f5167f6d71f
Parent
9008760d
Simplify ccp.fish This breaks stuff like `ls | ccp file` but I probably wouldn't do that in the first place, just either piping or copying a file, not both
Changes
1 changed files (+1/-6)
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