mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Fixes #4126 for fish-shell
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user