mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-27 06:00:26 +08:00
fix import lowcase host from ssh/config
This commit is contained in:
parent
b6d0bd2d43
commit
ca441b6f83
@ -26,7 +26,7 @@ export class OpenSSHImporter extends SSHProfileImporter {
|
||||
if (line.trim().startsWith('#') || !line.trim()) {
|
||||
continue
|
||||
}
|
||||
if (line.startsWith('Host ')) {
|
||||
if (line.toLowerCase().startsWith('host ')) {
|
||||
if (currentProfile) {
|
||||
results.push(currentProfile)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user