From 36a16f1d891850d912924fe4ec26203ef4cb00ae Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Fri, 28 May 2021 20:28:18 -0400 Subject: [PATCH] ash: update plan alias --- config.org | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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 -- 2.39.2