update .zshrc
prithugoswami prithugoswami524@gmail.com
Sun, 24 Jun 2018 09:15:15 +0530
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