diff options
| author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 20:33:38 -0700 | 
|---|---|---|
| committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 20:33:38 -0700 | 
| commit | b9b8557efdbe21dcfb2ccd5ae16d90bc18830b17 (patch) | |
| tree | 88e1826fb73e87f77eee9ea06f9bf66e52b185b8 /sh/u | |
| parent | 8727c421a2a84332b7a18a636c3ab470bda996e6 (diff) | |
exec seems no use in `ssh -t studio exec bash -l`
My tests shows https://superuser.com/a/306571/1282809 exec no need for
`ssh -t studio 'exec bash -l'`, exec does not replace the shell, there's
no shell to replace with?
Diffstat (limited to 'sh/u')
| -rwxr-xr-x | sh/u | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -12,7 +12,7 @@ for host in ca ka ia studio pp; do  	# maybe another way:  	# https://superuser.com/questions/241187/how-do-i-reload-inputrc  	# because I invoke bash, no need alacritty --hold -	o alacritty -T "$host" -e ssh -t "$host" '. "$HOME/.profile" && upd; exec "$SHELL" -l' +	o alacritty -T "$host" -e ssh -t "$host" '. "$HOME/.profile" && upd; "$SHELL" -l'  done  upd | 
