Add files via upload
authorRev. Fr. Robert Bower <39407737+frrobert2@users.noreply.github.com>
Sun, 18 Apr 2021 01:36:12 +0000 (21:36 -0400)
committerGitHub <noreply@github.com>
Sun, 18 Apr 2021 01:36:12 +0000 (21:36 -0400)
laceandterm

index b10b406d7bf74554739117e2538421b594009ecc..80d33f4ae02871240c5d3b454bdb11fb935f2494 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 # forked from https://gitlab.com/uoou/dotfiles/-/tree/master/stow/bin/home/drew/.local/bin/lace
-# https://github.com/frrobert2/lace/blob/main/laceandterm
+# https://raw.githubusercontent.com/frrobert2/lace/main/laceandterm
 # Shows both how many days ago and date
 # Modified to work with Debian running Sed 3.7
 if [ -z "$XDG_CONFIG_HOME" ];then
@@ -112,9 +112,9 @@ echo -n "" > $tmpfile
 #        
 
                if [[ "$1" == "nope" ]];then
-                       cat $tmpfile && rm -f $tmpfile $tmpfile2
+                       cat $tmpfile2 && rm -f $tmpfile $tmpfile2
                else
-               less -RisW $tmpfile && rm -f $tmpfile $tmpfile2
+               less -RisW $tmpfile2 && rm -f $tmpfile $tmpfile2
                fi
        }