aboutsummaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-05-21 08:26:56 -0700
committershmibs <shmibs@gmail.com>2014-05-21 08:26:56 -0700
commita995874431c74929a8ac26ddaf96741429e6382d (patch)
tree0c910b426ba3d72d0578dd35d2c65e1b3712a3cc /.bashrc
parentb77c909e0c03638004ba2e04f283934da8058d37 (diff)
downloaddotfiles-a995874431c74929a8ac26ddaf96741429e6382d.tar.gz
minor updates
nothing important to see here
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc8
1 files changed, 4 insertions, 4 deletions
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