SSH autocompletion not working when user@ is entered first
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- macos, zsh
- Domain
- cli
Research direction
Start by reproducing ssh username@ followed by Tab on macOS with entries in ~/.ssh/known_hosts, then compare it with ssh followed by Tab, which is reported to work. Trace the terminal's SSH completion path and verify that hostname completion also works after a username and @ are entered.
Written by the indexing model from the issue text.
Description
Discord username (optional)
Pfogl#3928
Describe the bug
When user@ is added to the ssh command, auto completion isn't working.
ssh username@ + Tab
To Reproduce
Setup:
none needed besides warp installed and some entries in the ~/.ssh/known_hosts
Repro:
- type
ssh, then theusername@ - type in some letters of the known hostname.
- Tab, fails autocomplete
Expected behaviour
autocompletion for hostname works ootb after the ssh username@ as with Terminal.app
Screenshots
https://www.loom.com/share/1d602a85a9d14c8b995ca93a67fcdd20
Operating System
MacOS
OS Version
12.5.1
Shell Version
zsh 5.8.1
Warp Version
v0.2022.08.23.08.06.stable_01
Additional context
ssh + Tab works as expected and gathers the hostnames from the ~/.ssh/config & ~/.ssh/known_hosts correctly for autocompletion.
Does this block you from using Warp daily?
No
Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e
No response
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from warpdotdev/warp
-
area:agent area:window-tabs-panes enhancement needs-info os:mac repro:high triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
warpdotdev/warp#15768 · 3 comments · 1 reaction ·
-
bug factory-auto-implement factory:revops-factory os:mac ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 1/5 Under an hour Newbie friendliness 90/100
warpdotdev/warp#15697 · 2 comments ·
-
area:editor-notebooks bug repro:high triaged warp:auto-triage-review warp:tracking
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
warpdotdev/warp#13949 · 3 comments ·
-
markdown_parser: unclosed `<u>` markers pair via the emphasis algorithm and delete surrounding text Openarea:editor-notebooks bug ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
warpdotdev/warp#12863 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
warpdotdev/warp#11969 · 2 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100