diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-28 19:08:14 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-28 19:08:14 -0700 |
commit | bdea386fc5194860037619b235e60120c4fd4cf8 (patch) | |
tree | 728aa1f68d69631784d84a5ecd7766d5fce82699 | |
parent | 487615c2fd072ee12349601ec4d6ae69583f91e5 (diff) |
feat: alias sun, remind output sunrise sunset
-rw-r--r-- | home/xyz/.bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index cceed28e..028ca3c5 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -88,6 +88,11 @@ alias sst='ssh studio' # \" to consider $HOME contain space, need \ else " will be expanded locally, need \$ else $HOME will expand locally # can test with: alias mytest='ssh studio for i in \"\$SSH_CONNECTION\"\; do echo \$i\; echo a\; done' alias sstm='ssh -t -- studio mpra -c \"\$HOME/programs/repos/fly/any/fsh-git\"' +# 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' |