From: Armaan Bhojwani Date: Sat, 29 May 2021 00:28:18 +0000 (-0400) Subject: ash: update plan alias X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=commitdiff_plain;h=36a16f1d891850d912924fe4ec26203ef4cb00ae ash: update plan alias --- diff --git a/config.org b/config.org index 067f181..24f5568 100644 --- a/config.org +++ b/config.org @@ -942,13 +942,15 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac alias gps='gpg --keyserver keyserver.ubuntu.com --search-keys' alias gpp='gpg --keyserver keyserver.ubuntu.com --recv-key' alias plan='T=$(mktemp) && \ - rsync root@armaanb.net:/etc/finger/plan.txt "$T" && \ - TT=$(mktemp) && \ - head -n -2 $T > $TT && \ - /bin/nvim $TT && \ - echo "\nLast updated: $(date -R)" >> "$TT" && \ - fold -sw 72 "$TT" > "$T"| \ - rsync "$T" root@armaanb.net:/etc/finger/plan.txt' + rsync root@armaanb.net:/etc/finger/plan.txt "$T" && \ + TT=$(mktemp) && \ + head -n -2 $T > $TT && \ + /bin/nvim $TT && \ + echo >> "$TT" && \ + echo "Last updated: $(date -R)" >> "$TT" && \ + fold -sw 72 "$TT" > "$T"| \ + rsync "$T" root@armaanb.net:/etc/finger/plan.txt && \ + rm -f "$T"' #+end_src **** Virtual machines, chroots #+begin_src shell :tangle ~/.config/ash/ashrc