blinksh / blinksh/blink

Issue with host autocomplete when hosts contain ‘@‘ symbol

Open
#585 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.9k
Forks
746
PR merge metrics
No merged PRs in 30d

Description

Being anal retentive, I’ve chosen to setup my hosts in the following format:

```
@.:
```

If I have two hosts configured, say:

```
william@example1.com:22
william@example2.com:22
```

Attempting to autocomplete either host goes something like this:

1. ![step 1](https://i.imgur.com/kNdt9Gv.jpg)
2. ` key`
3. ![step 3](https://i.imgur.com/hDTcarc.jpg)
4. `<1> key`
5. ![step 5](https://i.imgur.com/fajfozV.jpg)
6. ` key`
7. ![step 7](https://i.imgur.com/MeyUtaP.jpg)

Obviously, I can work around this by renaming my hosts, but just thought I should let you know. Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is identified in the issue. Reproduce host autocomplete with william@example1.com:22 and william@example2.com:22, then locate the autocomplete entry point and trace how the @ symbol is handled; done means both hosts can be selected without the demonstrated extra key sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.