MyNixOS website logo
Description

Command prefixing for continuous workflow using a single tool.

with is a Bash script that starts an interactive shell with where every command is prefixed using <program>.

For example:

$ with git git> add . git> commit -a -m "Committed" git> push

Can also be used for compound commands.

$ with java Primes java Primes> 1 2 java Primes> 4 7

And 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.

Metadata

Version

2018-03-20

License

Maintainers (1)

Executables (1)

  • bin/with

Platforms (44)

    Darwin
    FreeBSD
    Linux
    NetBSD
    OpenBSD
    Redox
    Solaris
    Windows
Show all
  • aarch64-darwin
  • aarch64-linux
  • aarch64-netbsd
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-linux
  • i686-netbsd
  • i686-openbsd
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • powerpc-netbsd
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv32-netbsd
  • riscv64-linux
  • riscv64-netbsd
  • s390-linux
  • s390x-linux
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris