From de3829a94c0e15fe7725cefbfb64c1cfd967be9b Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 16 Jan 2020 17:45:32 +0100 Subject: [PATCH] fixed cygwin $PATH (fixes #1683, fixes #1570) --- terminus-terminal/src/shells/cygwin32.ts | 1 + terminus-terminal/src/shells/cygwin64.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/terminus-terminal/src/shells/cygwin32.ts b/terminus-terminal/src/shells/cygwin32.ts index 5dd09bd6..72ea8255 100644 --- a/terminus-terminal/src/shells/cygwin32.ts +++ b/terminus-terminal/src/shells/cygwin32.ts @@ -35,6 +35,7 @@ export class Cygwin32ShellProvider extends ShellProvider { id: 'cygwin32', name: 'Cygwin (32 bit)', command: path.join(cygwinPath, 'bin', 'bash.exe'), + args: ['--login', '-i'], icon: require('../icons/cygwin.svg'), env: { TERM: 'cygwin', diff --git a/terminus-terminal/src/shells/cygwin64.ts b/terminus-terminal/src/shells/cygwin64.ts index 70d3efff..c7ac017f 100644 --- a/terminus-terminal/src/shells/cygwin64.ts +++ b/terminus-terminal/src/shells/cygwin64.ts @@ -35,6 +35,7 @@ export class Cygwin64ShellProvider extends ShellProvider { id: 'cygwin64', name: 'Cygwin', command: path.join(cygwinPath, 'bin', 'bash.exe'), + args: ['--login', '-i'], icon: require('../icons/cygwin.svg'), env: { TERM: 'cygwin',