From cd937b2e505e6be873430f0241756672a9d7960c Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Thu, 15 Mar 2018 14:43:38 +0530 Subject: [PATCH] [add-command] clip --- scripts/mkr.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/mkr.sh b/scripts/mkr.sh index 67d73e8..643b91f 100644 --- a/scripts/mkr.sh +++ b/scripts/mkr.sh @@ -8,6 +8,13 @@ alias cls='printf "\033c"' +# Copy to clipboard + +## clip +## Usage: cat | clip +## Copies output from previous command into clipboard +alias clip="xclip -selection clipboard" + # Simpler apt commands alias update="sudo apt-get update"