File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -119,12 +119,6 @@ detect_python() {
119
119
[ -n " $python " ] && return 0
120
120
return 1
121
121
fi
122
- python_detected=" 1"
123
- python=$( command -v python3)
124
- [ -z " $python " ] && python=$( command -v python2)
125
- [ -z " $python " ] && python=$( command -v python)
126
- if [ -z " $python " -o ! -x " $python " ]; then python=" " ; return 1; fi
127
- log found python at $python
128
122
return 0
129
123
}
130
124
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ send_conductor='printf "\033]1337;SendConductor'"$st"'"'
148
148
149
149
# Run a command on the remote host that instructs iTerm2 to send a script, then reads the script and executes it.
150
150
# I tried many ways to concatenate s and l and this is the only one that works on both Ubuntu 18 and Ubuntu 20.
151
- sanitized=" $send_conductor " ' ;s="";IFS=""; stty -echo ; while read -r l;do [ "$l" = EOF ]&&break; s=$(printf "%s\n%s" "$s" "$l"); done; unset IFS; eval "$s"'
151
+ sanitized=" stty -echo; $send_conductor " ' ;s="";IFS=""; while read -r l;do [ "$l" = EOF ]&&break; s=$(printf "%s\n%s" "$s" "$l"); done; unset IFS; eval "$s"'
152
152
153
153
# If ssh gets a signal, let it2ssh keep running.
154
154
set +e
You can’t perform that action at this time.
0 commit comments