File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -225,12 +225,6 @@ proc shell_text {test_shell val {re_mode 0}} {
225225}
226226
227227proc shell_val {test_shell val {re_mode 0}} {
228- if {$re_mode} {
229- set esc "\\"
230- } else {
231- set esc ""
232- }
233-
234228 if {$val ne "(.*)"} {
235229 switch -- $test_shell {
236230 {sh} - {bash} - {ksh} - {zsh} - {csh} - {tcsh} - {fish} {
@@ -369,12 +363,6 @@ proc shell_unset {test_shell var {re_mode 0}} {
369363}
370364
371365proc shell_alias {test_shell var val {re_mode 0} {escval 1}} {
372- if {$re_mode} {
373- set esc "\\"
374- } else {
375- set esc ""
376- }
377-
378366 if {$escval} {
379367 set val [shell_val $test_shell $val $re_mode]
380368 }
@@ -401,12 +389,6 @@ proc shell_alias {test_shell var val {re_mode 0} {escval 1}} {
401389}
402390
403391proc shell_unalias {test_shell var {re_mode 0}} {
404- if {$re_mode} {
405- set esc "\\"
406- } else {
407- set esc ""
408- }
409-
410392 switch -- $test_shell {
411393 {sh} - {bash} - {ksh} - {zsh} {
412394 set answer "unalias $var 2>/dev/null || true;"
You can’t perform that action at this time.
0 commit comments