Commit 297b780
committed
fixup! mingw: Support
Reduce shell invocations by chaining commands together.
Use 'echo' instead of 'printf \\n'.
Use 'read -s' instead of 'stty [-]echo', because we don't have 'stty'
in old msysgit.
Use 'bash' instead of 'sh' as 'read -s' is bash-specific (in case we
ever switch to dash or some other POSIX-only shell).
Signed-off-by: Karsten Blees <[email protected]>git_terminal_prompt with more terminals1 parent 03a9c66 commit 297b780
1 file changed
+4
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
| |||
143 | 139 | | |
144 | 140 | | |
145 | 141 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 142 | | |
153 | 143 | | |
154 | 144 | | |
| |||
0 commit comments