diff options
author | shmibs <shmibs@gmail.com> | 2014-05-30 10:20:48 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2014-05-30 10:20:48 -0700 |
commit | 333b873ee6d27c6b42c2426f14591177bed08146 (patch) | |
tree | 3f64456489eacadec1ba98247ad3e6dde4d09311 /.bash_aliases | |
parent | 4ffad3ac6c5259b975650cf1aeaaecb1fd255be3 (diff) | |
download | dotfiles-333b873ee6d27c6b42c2426f14591177bed08146.tar.gz |
bash -> zsh
Diffstat (limited to '.bash_aliases')
-rw-r--r-- | .bash_aliases | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/.bash_aliases b/.bash_aliases deleted file mode 100644 index 6d1796d..0000000 --- a/.bash_aliases +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash - -export EDITOR="vim" -export PAGER="less -R" - -alias ls='ls --color=auto' -alias grep='grep --color=auto' -alias diff='colordiff' -alias less='less -R' - -alias vmount='udevil mount' -alias vumount='udevil umount' -alias def='sdcv' - -send() { - if [ "$1" ]; then - scp $@ shmibbles.me:/srv/http/tmp/ - if [ $? -eq 0 ]; then - for name in "$@" - do - name=$(echo "http://shmibbles.me/tmp/$(basename $name)" | sed 's/ /%20/g') - echo $name | tr -d '\n' | xclip -i -selection clipboard - echo $name | tr -d '\n' | xclip -i -selection primary - done - fi - else - echo "specify at least one file to send" - fi -} - -sendi() { - if [ "$1" ]; then - scp $@ shmibbles.me:/srv/http/img/ - if [ $? -eq 0 ]; then - for name in "$@" - do - name=$(echo "http://shmibbles.me/img/$(basename $name)" | sed 's/ /%20/g') - echo $name | tr -d '\n' | xclip -i -selection clipboard - echo $name | tr -d '\n' | xclip -i -selection primary - done - fi - else - echo "specify at least one file to send" - fi -} - |