Skip to content

Commit d8da3ab

Browse files
committed
1.1.1
Fix #1 from @doowb
1 parent 4639d26 commit d8da3ab

File tree

2 files changed

+36
-4
lines changed

2 files changed

+36
-4
lines changed

index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export const detectFromShell = (): string | null => {
136136
if (/cmd\.exe/i.test(shell)) return 'cmd';
137137
if (/wt\.exe/i.test(shell)) return 'windows_terminal';
138138
if (/conhost\.exe/i.test(shell)) return 'conhost';
139-
140139
return 'windows_cmd';
141140
}
142141

package.json

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "detect-terminal",
33
"description": "Detect the terminal program currently being used, with support for iTerm, Terminal.app, Hyper, iTerm2, ConEmu, Cmde,r Alacritty, Xterm, Terminator, Termux, Kitty, and others. Detection is based on environment variables and process-level indicators to identify the terminal in use. This can't be done reliably in all cases, but it's useful when available.",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"license": "MIT",
66
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
77
"scripts": {
@@ -31,19 +31,52 @@
3131
},
3232
"keywords": [
3333
"alacritty",
34+
"bash",
3435
"cli",
3536
"cmder",
3637
"conemu",
38+
"conhost",
3739
"console",
40+
"csh",
41+
"detect",
42+
"dopamine",
3843
"env",
44+
"eterm",
45+
"fish",
46+
"gnome_terminal",
3947
"hyper",
4048
"iterm",
4149
"kitty",
42-
"terminal",
50+
"konsole",
51+
"ksh",
52+
"linux_console",
53+
"mate_terminal",
54+
"node",
55+
"powershell",
56+
"putty",
57+
"qterminal",
58+
"rxvt",
59+
"screen",
60+
"sh",
61+
"tcsh",
62+
"term",
63+
"terminal app",
64+
"terminal_app",
4365
"terminal.app",
66+
"terminal",
4467
"terminator",
4568
"termux",
46-
"xterm"
69+
"tmux",
70+
"truecolor_terminal",
71+
"vscode",
72+
"vt100",
73+
"warp",
74+
"wezterm",
75+
"windows_cmd",
76+
"windows_terminal",
77+
"xfce4_terminal",
78+
"xterm",
79+
"zsh"
4780
],
4881
"verb": {
4982
"toc": false,

0 commit comments

Comments
 (0)