summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-05-05 01:52:52 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-05-05 01:52:52 -0700
commita3bd476de9e3c197a9d40e4942ac5419967ccc92 (patch)
tree5e0bc4dcddefce2917c46f3d22cb61ccb3846e5f
parentea27c3ebc21e1163a2e4a7596820c0b6a9f0ec06 (diff)
similar .bashrc for all computers, easier to cherry-pick with ccp
-rw-r--r--home/xyz/.bashrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index f045c737..7e881ef3 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -77,11 +77,15 @@ alias r='rem -cu+2 -@'
# https://askubuntu.com/a/22043
alias s='sudo '
alias sa='ssh-add -l || ssh-add'
+alias sca='ssh ca'
alias se='sudo -E '
alias sia='ssh ia'
alias sp='ssh pp'
alias spd='speedtest; librespeed-cli'
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\"'
# 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 -'
@@ -108,6 +112,8 @@ alias vr='"$EDITOR" "$DOTREMINDERS"'
alias vrc='"$EDITOR" +e\ \$MYVIMRC'
alias vrm='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/others/recurring_maintenance.md"'
alias vt='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/others/tmp_mobile_notes.md"'
+alias xmr='monero-wallet-cli --config-file="$HOME/.bitmonero/monero-wallet-cli.conf"'
+alias xmrds='monerod status; monerod print_net_stats'
alias za='zoxide add'
#alias zq='zoxide query'
#alias zqi='zoxide query -i'
@@ -122,6 +128,7 @@ alias glmark2='glmark2 --fullscreen --annotate'
alias grep='grep --color=auto'
#alias info='info --vi-keys'
alias ls='ls --color=auto'
+alias radeontop='radeontop -c'
alias rem='rem -@'
alias remind='remind -@'
alias rm='rm -I'