From a995874431c74929a8ac26ddaf96741429e6382d Mon Sep 17 00:00:00 2001 From: shmibs Date: Wed, 21 May 2014 08:26:56 -0700 Subject: minor updates nothing important to see here --- .bashrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 6110eef..5259146 100644 --- a/.bashrc +++ b/.bashrc @@ -49,8 +49,8 @@ send() { for name in "$@" do name=$(echo "http://shmibbles.me/tmp/$(basename $name)" | sed 's/ /%20/g') - echo $name | xclip -i -selection clipboard - echo $name | xclip -i -selection primary + echo $name | tr -d '\n' | xclip -i -selection clipboard + echo $name | tr -d '\n' | xclip -i -selection primary done fi else @@ -65,8 +65,8 @@ sendi() { for name in "$@" do name=$(echo "http://shmibbles.me/img/$(basename $name)" | sed 's/ /%20/g') - echo $name | xclip -i -selection clipboard - echo $name | xclip -i -selection primary + echo $name | tr -d '\n' | xclip -i -selection clipboard + echo $name | tr -d '\n' | xclip -i -selection primary done fi else -- cgit v1.2.3