all repos — dotfiles @ 01e2b8351fe10b2d77cc36157979a297c8c04c9b

linux dotfiles

update .zshrc
prithugoswami prithugoswami524@gmail.com
Sun, 24 Jun 2018 09:15:15 +0530
commit

01e2b8351fe10b2d77cc36157979a297c8c04c9b

parent

0e853adff071b25cd89a42cb38a9a6e553e8163b

1 files changed, 7 insertions(+), 7 deletions(-)

jump to
M .zshrc.zshrc

@@ -99,14 +99,14 @@ alias tmux="tmux -u"

alias n="nautilus" # Read the local copy of pd alias pdrl="cp ~/Dropbox/pd/pd /tmp/pd \ - ; gpg --passphrase-file ~/.pdkey --batch -o /tmp/pd.tmp -d /tmp/pd \ - ; less /tmp/pd.tmp ; rm /tmp/pd.tmp \ - ; rm /tmp/pd" + && gpg --passphrase-file ~/.pdkey --batch -o /tmp/pd.tmp -d /tmp/pd \ + && less /tmp/pd.tmp && rm /tmp/pd.tmp \ + && rm /tmp/pd" # Read pd from the cloud -alias pdrc="rclone cat drop:/pd/pd > /tmp/pd \ - ; gpg --passphrase-file ~/.pdkey --batch -o /tmp/pd.tmp -d /tmp/pd \ - ; less /tmp/pd.tmp ; rm /tmp/pd.tmp \ - ; rm /tmp/pd" +alias pdrc="ping -c 1 8.8.8.8 > /dev/null && rclone cat drop:/pd/pd > /tmp/pd \ + && gpg --passphrase-file ~/.pdkey --batch -o /tmp/pd.tmp -d /tmp/pd \ + && less /tmp/pd.tmp && rm /tmp/pd.tmp \ + && rm /tmp/pd" # Task warrior Alias