gitsh
A simple shell wrapper for Git that provides completions, history and doesn't require you to add the git
prefix to each command.
Based on this awk abomination: https://gist.github.com/apainintheneck/ddc87043a645e87f2d9e02b69be155b6
Installation
- Clone this repo
- Run
shards build --release
- Checkout
./bin/gitsh
Usage
- Type any Git subcommand to run it without prefixing 'git'.
- Type 'exit' or 'quit' to leave.
- Use the arrow keys for command line history.
- Linenoise provides inline editing as well.
Development
- Install:
shards install
- Running:
shards run
- Linting:
crystal tool format
- Testing:
crystal spec
Contributing
- Fork it (https://github.com/apainintheneck/gitsh/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- apainintheneck - creator and maintainer