diff --git a/awesome/scripts/launch_alacritty.sh b/awesome/scripts/launch_alacritty.sh index 7b2f2b5..72bbd39 100755 --- a/awesome/scripts/launch_alacritty.sh +++ b/awesome/scripts/launch_alacritty.sh @@ -10,7 +10,7 @@ then if [ $PROCESS == "ssh" ] then PORT=$(ss -tnpa | grep ssh | grep "pid=$GRAND_CHILD_PID" | awk '{ print $4 }' | grep -o '[0-9]*$') - alacritty -e $COMMAND -t "cd \$(readlink -e /proc/\$(cat /tmp/ssh_session_$PORT)/cwd); zsh --login" + alacritty -e $COMMAND -t "cd \"\$(readlink -e /proc/\$(cat /tmp/ssh_session_$PORT)/cwd)\"; zsh --login" exit 0 fi fi