update .zshrc updated the alias to work with new pd
prithugoswami prithugoswami524@gmail.com
Thu, 24 May 2018 10:48:50 +0530
1 files changed,
8 insertions(+),
2 deletions(-)
jump to
M
.zshrc
→
.zshrc
@@ -97,8 +97,14 @@ alias rn="shutdown -r now"
alias :wq="exit" alias tmux="tmux -u" alias n="nautilus" -alias pdrl="cp ~/Dropbox/pd/pd.txt /tmp/pd.tmp ; less /tmp/pd.tmp" # Read the local copy of pd -alias pdrc="rclone cat drop:/pd/pd.txt > /tmp/pd.tmp ; less /tmp/pd.tmp" # Read pd from the cloud +# 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" +# 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" # Task warrior Alias