Browse Source

Linux default shell fix

Eugene Pankov 8 years ago
parent
commit
f58cf469ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      terminus-terminal/src/buttonProvider.ts

+ 1 - 1
terminus-terminal/src/buttonProvider.ts

@@ -54,7 +54,7 @@ export class ButtonProvider extends ToolbarButtonProvider {
                     console.warn('Could not detect user shell')
                     console.warn('Could not detect user shell')
                     command = '/bin/sh'
                     command = '/bin/sh'
                 } else {
                 } else {
-                    command = line.split(':')[5]
+                    command = line.split(':')[6]
                 }
                 }
             }
             }
             if (this.hostApp.platform === Platform.macOS) {
             if (this.hostApp.platform === Platform.macOS) {