Fixes #4126 for fish-shell

This commit is contained in:
Álvaro Lázaro Gallego
2016-04-14 16:14:39 +02:00
parent e230841b57
commit 04ff6e4611

View File

@@ -58,7 +58,7 @@ function getFromShell () {
function needsPatching (options = { platform: process.platform, env: process.env }) {
if (options.platform === 'darwin' && !options.env.PWD) {
let shell = getUserShell()
if (shell.endsWith('csh') || shell.endsWith('tcsh')) {
if (shell.endsWith('csh') || shell.endsWith('tcsh') || shell.endsWith('fish')) {
return false
}
return true