-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade mosh to 1.4.0 statically-linked and patched
Made using my forked mosh-multiarch github action with added patch from my forked mosh repo. https://github.com/eggbean/mosh-static-multiarch https://github.com/eggbean/mosh Patched for improved cursor style handling mobile-shell/mosh#1167
- Loading branch information
Showing
9 changed files
with
569 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Bash completions for Mosh, the mobile shell. -*- shell-script -*- | ||
|
||
__mosh_init_completion() | ||
{ | ||
if declare -F _init_completions >/dev/null 2>&1; then | ||
_init_completion | ||
else | ||
COMPREPLY=() | ||
_get_comp_words_by_ref cur prev words cword | ||
fi | ||
} | ||
|
||
_mosh () { | ||
local cur | ||
|
||
__mosh_init_completion || return | ||
|
||
local simple_flags="-a -b -4 -6 -p" | ||
local flags="--client= --server= --predict= --family= --port= | ||
--bind-server= --ssh= --no-init --help --version" | ||
|
||
if [[ "$cur" == --* && "$COMP_CWORD" == 1 ]]; then | ||
COMPREPLY=($(compgen -W "$flags" -- "$cur")) | ||
elif [[ "$cur" == -* && "$COMP_CWORD" == 1 ]]; then | ||
COMPREPLY=($(compgen -W "$simple_flags" -- "$cur")) | ||
else | ||
_known_hosts_real -a "$cur" | ||
fi | ||
} | ||
|
||
complete -o nospace -F _mosh mosh |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.