7 stdenv.mkDerivation rec {
9 version = "unstable-2018-03-20";
11 src = fetchFromGitHub {
14 rev = "28eb40bbc08d171daabf0210f420477ad75e16d6";
15 hash = "sha256-mKHsLHs9/I+NUdb1t9wZWkPxXcsBlVWSj8fgZckXFXk=";
18 nativeBuildInputs = [ installShellFiles ];
22 install -D with $out/bin/with
23 installShellCompletion --bash --name with.bash with.bash-completion
28 homepage = "https://github.com/mchav/With";
29 description = "Command prefixing for continuous workflow using a single tool";
31 with is a Bash script that starts an interactive shell with where every
32 command is prefixed using <program>.
38 git> commit -a -m "Committed"
41 Can also be used for compound commands.
49 And to repeat commands:
51 $ with gcc -o output input.c
52 gcc -o -output input.c>
55 gcc -o -output input.c>
57 To execute a shell command proper prefix line with :.
61 You can also drop, add, and replace different commands.
66 git commit> <arguments and message>
70 To exit use either :q or :exit.
72 license = licenses.asl20;
73 maintainers = with maintainers; [ AndersonTorres ];
74 platforms = platforms.unix;