From a231626f44f53951cc028a635c7237b6128ab791 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 1 May 2024 12:07:03 -0700 Subject: sun alias --- home/xyz/.bashrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'home/xyz/.bashrc') diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 603b767f..84286199 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -85,6 +85,12 @@ alias ska='ssh ka' alias sp='ssh pp' alias spd='speedtest; librespeed-cli' alias sst='ssh studio' +# 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 -nb1 -' +# 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 -nb1 -" alias sv=sudoedit alias y=systemctl alias yd='systemctl list-dependencies --all' -- cgit v1.2.3-70-g09d2