mobile-shell / mobile-shell/mosh

Add bash_completion on Fedora

Open
#912 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

packaging
Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

Similar to #248 it would be nice to have bash_completion for mosh in Fedora

The bash_completion package is already installed (at least on Fedora 26 it is) and the following works in /etc/bash_completion.d/mosh:

complete -F _ssh mosh

Since _ssh is defined in the preinstalled ssh completion files and sources both known_hosts (including hashed I believe thanks to _known_hosts_real) and ssh/config.

I don't mind building a PR for this but it would take me some time to learn the rpm building element.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing issue #248 and the Fedora packaging files, then inspect how /etc/bash_completion.d/mosh is installed. Verify that the Fedora package includes bash completion using the existing _ssh completion and that mosh provides the expected host and SSH configuration completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.