From fc29f2ad4179eb1fd3e079a074a312e478d21cba Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 19 Apr 2024 20:15:31 -0700 Subject: new alias sstm, ssh studio and build fsh-git --- home/xyz/.bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'home') 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' -- cgit v1.2.3-70-g09d2