Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eeue56/elm-bash-completion
Bash completion for Elm
https://github.com/eeue56/elm-bash-completion
Last synced: about 2 months ago
JSON representation
Bash completion for Elm
- Host: GitHub
- URL: https://github.com/eeue56/elm-bash-completion
- Owner: eeue56
- License: bsd-3-clause
- Created: 2018-01-14T22:38:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-04T18:04:48.000Z (almost 7 years ago)
- Last Synced: 2024-05-21T12:33:36.738Z (8 months ago)
- Language: Shell
- Homepage:
- Size: 501 KB
- Stars: 27
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-bash-completion
## Why?
Sometimes when you're installing a package and you know the name, it can be really nice to be able to hit tab a little earlier.
You might start typing and want things to expand
```
elm-pa[TAB]
elm-package in[TAB]
elm-package install elm-co[TAB]
elm-package install elm-community/html-e[TAB]
```![](./faster_bash_completions.gif)
## Installation
- Clone this repo
- Source the `_.sh` files in your `~/.bashrc` or `~/.bash_profile`, using `source`
- Restart bash or open a new terminal sessionIf you're using Linux, you probably want `.bashrc`. If you're using OS X, you probably want `.bash_profile`.
Example .bashrc or .bash_profile file:
```bash
for f in ~/dev/elm-bash-completion/_*; do source $f; done
```## Oh My Zsh
Use `bashcompinit`.
```
autoload bashcompinit
bashcompinit
for f in ~/dev/elm-bash-completion/_*; do source $f; done
```