Skip to content

Commit 0a4a9ba

Browse files
committed
fixes
1 parent 343061f commit 0a4a9ba

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

features/shell.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Feature: WordPress REPL
4343
bool(true)
4444
"""
4545
46+
@skip-windows
4647
Scenario: Use custom shell path
4748
Given a WP install
4849

src/WP_CLI/Shell/REPL.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,6 @@ private function prompt() {
145145
$prompt = ( ! $done && false !== $full_line ) ? '--> ' : $this->prompt;
146146

147147
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-
}
151148
$line = fgets( STDIN );
152149
} else {
153150
$fp = popen( self::create_prompt_cmd( $prompt, $this->history_file ), 'r' );

0 commit comments

Comments
 (0)