diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 20:15:31 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 20:15:31 -0700 |
commit | fc29f2ad4179eb1fd3e079a074a312e478d21cba (patch) | |
tree | 0ae83ba3d1e6370c606b58a393b1033982d97e4b /home/xyz/.bashrc | |
parent | fb97deb67fd032e1669f72aef4ce6fbfb150a043 (diff) |
new alias sstm, ssh studio and build fsh-git
Diffstat (limited to 'home/xyz/.bashrc')
-rw-r--r-- | home/xyz/.bashrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 9546957a..9496f1aa 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -85,6 +85,9 @@ alias ska='ssh ka' 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\"' alias sv=sudoedit alias y=systemctl alias yd='systemctl list-dependencies --all' |