Program prefixing for continuous workflow using a single tool.
with <program>
Starts an interactive shell with where every command is prefixed using <program>.
For example:
$ with git
git> add .
git> commit -a -m "Commited"
git> pushCan also be used for compound commands.
$ with java Primes
java Primes> 1
2
java Primes> 4
7And to repeat commands:
$ with gcc -o output input.c
gcc -o -output input.c>
<enter>
Compiling...
gcc -o -output input.c>To execute a shell command proper prefix line with :.
git> :ls
You can also drop, add, and replace different commands.
git> +add
git add> <some file>
git add> !commit
git commit> <arguments and message>
git commit> -
git>To exit use either :q or :exit.
With apt-get:
sudo add-apt-repository ppa:mchav/with && sudo apt-get update && sudo apt-get install withWith bpkg:
bpkg install mchav/with -gWith FreeBSD pkg:
pkg install withWith FreeBSD ports
cd /usr/ports/misc/with && make install cleanWith rawgit:
curl -sLo- https://cdn.rawgit.com/mchav/with/master/install | bashor:
curl -s https://raw.githubusercontent.com/mchav/with/master/install | bash
Currently supports command history and limited completions.