From 3e423d0939da513c352e4d063b314d980ebb3aaf Mon Sep 17 00:00:00 2001 From: Armin Grodon Date: Tue, 4 Aug 2015 11:11:44 +0200 Subject: [PATCH] xclip alias --- plugins/ubuntu/ubuntu.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh index 4c790303f..45281105e 100644 --- a/plugins/ubuntu/ubuntu.plugin.zsh +++ b/plugins/ubuntu/ubuntu.plugin.zsh @@ -140,3 +140,7 @@ function apt-list-packages { sort -n | \ awk '{print $1" "$2}' } + +# Copy output to clipboard (requires xclip) +# Usage: ls | clip +alias clip='xclip -sel clip'