From 425814a01592f1ab4f3b0646d4984b112b73c2a4 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 6 Sep 2024 21:51:06 -0700 Subject: remind v5.0.5 warn missing rem and msg --- home/xyz/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home') diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 03f3df1b..964459fe 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -104,10 +104,10 @@ alias sst='ssh studio' alias sstm='ssh -t -- studio mpra -c \"\$HOME/programs/repos/fly/any/fsh-git\"' # from `man remind`: "Note that you can omit the reminder type, in which case it defaults to MSG" # can test this mess with `alias tt='echo "\$haha \"lala\""'` -alias sun='printf "set \$Longitude \"-121.89\"\nset \$Latitude \"37.34\"\n[sunrise()] sunrise\n[sunset()] sunset" | remind -n -' +alias sun='printf "set \$Longitude \"-121.89\"\nset \$Latitude \"37.34\"\nrem [sunrise()] msg sunrise\nrem [sunset()] msg sunset" | remind -n -' # another way: # can test this mess with `alias tt="echo '\$haha \"lala\"'"` -#alias sun="printf 'set \$Longitude \"-121.89\"\nset \$Latitude \"37.34\"\n[sunrise()] sunrise\n[sunset()] sunset' | remind -n -" +#alias sun="printf 'set \$Longitude \"-121.89\"\nset \$Latitude \"37.34\"\nrem [sunrise()] msg sunrise\nrem [sunset()] msg sunset' | remind -n -" alias sv=sudoedit alias y=systemctl alias yd='systemctl list-dependencies --all' -- cgit v1.2.3-70-g09d2