We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 343061f commit 0a4a9baCopy full SHA for 0a4a9ba
2 files changed
features/shell.feature
@@ -43,6 +43,7 @@ Feature: WordPress REPL
43
bool(true)
44
"""
45
46
+ @skip-windows
47
Scenario: Use custom shell path
48
Given a WP install
49
src/WP_CLI/Shell/REPL.php
@@ -145,9 +145,6 @@ private function prompt() {
145
$prompt = ( ! $done && false !== $full_line ) ? '--> ' : $this->prompt;
146
147
if ( \WP_CLI\Utils\is_windows() && ! self::is_tty() ) {
148
- if ( getenv( 'WP_CLI_CUSTOM_SHELL' ) ) {
149
- self::create_prompt_cmd( $prompt, $this->history_file );
150
- }
151
$line = fgets( STDIN );
152
} else {
153
$fp = popen( self::create_prompt_cmd( $prompt, $this->history_file ), 'r' );
0 commit comments