https://github.com/mcandre/screen-completion
tab completion for screen sessions
https://github.com/mcandre/screen-completion
Last synced: about 1 year ago
JSON representation
tab completion for screen sessions
- Host: GitHub
- URL: https://github.com/mcandre/screen-completion
- Owner: mcandre
- Created: 2015-09-08T16:41:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T18:05:10.000Z (almost 6 years ago)
- Last Synced: 2025-02-01T23:36:27.905Z (over 1 year ago)
- Language: Shell
- Homepage: https://github.com/mcandre/screen-completion
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# screen-completion - tab completion for screen sessions
# EXAMPLE
```console
$ screen -S rsync
$ rsync ...
C-a d
$ screen -x r[TAB]
$ screen -x rsync
```
# REQUIREMENTS
* [bash](https://www.gnu.org/software/bash/) 4+
* [GNU awk](https://www.gnu.org/software/gawk/)
## Optional
* [Python](https://www.python.org/) 3+
* [GHC Haskell](https://www.haskell.org/) 8+
* [Go](https://golang.org/) 1.9+
* [GNU make](https://www.gnu.org/software/make/)
* [checkbashisms](https://sourceforge.net/projects/checkbaskisms/)
# INSTALL
Download [screen-completion.sh](https://raw.githubusercontent.com/mcandre/screen-completion/master/lib/screen-completion.sh) and place into `$HOME`:
```console
wget -O $HOME/screen-completion.sh https://raw.githubusercontent.com/mcandre/screen-completion/master/lib/screen-completion.sh
```
Then configure your `$HOME/.bash_profile` or similar shell configuration to use screen-completion:
```console
# screen-completion
# See https://raw.githubusercontent.com/mcandre/screen-completion/master/lib/screen-completion.sh
. $HOME/screen-completion.sh
```
Then update your shell:
```console
$ source $HOME/.bash_profile
```
# REQUIREMENTS
* [GNU bash](https://www.gnu.org/software/bash/)
## Recommended
* [vast](http://github.com/mcandre/vast)
* [shfmt](https://github.com/mvdan/sh) (e.g. `GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt`)
* [bashate](https://pypi.python.org/pypi/bashate/0.5.1)
* [checkbashisms](https://sourceforge.net/projects/checkbaskisms/)
* [ShellCheck](https://hackage.haskell.org/package/ShellCheck)
* [stank](https://github.com/mcandre/stank) (e.g. `go get github.com/mcandre/stank/...`)
# DEVELOPMENT
## Lint
```console
$ vast [lint]
```
# CREDITS
Inspired by [git prompt](https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh).