summaryrefslogtreecommitdiff
path: root/home/xyz/.bashrc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-05-01 12:07:03 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-05-01 12:07:03 -0700
commita231626f44f53951cc028a635c7237b6128ab791 (patch)
treea9c93c1ffae65cd0f6ebe5a67d98e6315bdeb2ce /home/xyz/.bashrc
parentdd32af50eb28887917cfe4fa8e1e71e444b4a830 (diff)
sun alias
Diffstat (limited to 'home/xyz/.bashrc')
-rw-r--r--home/xyz/.bashrc6
1 files changed, 6 insertions, 0 deletions
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'