about summary refs log tree commit diff
path: root/pkgs/profpatsch/execline
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-01-26 23:11:34 +0100
committerProfpatsch <mail@profpatsch.de>2020-01-26 23:11:34 +0100
commit356f810df578f4f8db7f642d6a822d4b32256179 (patch)
tree7f8e19ee61ba3c80b872b636343b5e58300bb126 /pkgs/profpatsch/execline
parent875f3ac905e93e3a4fa1ca6bedbd56f8bfefc1b6 (diff)
pkgs/profpatsch/execline/e: fix line splitting
Diffstat (limited to 'pkgs/profpatsch/execline')
-rw-r--r--pkgs/profpatsch/execline/e.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/profpatsch/execline/e.nix b/pkgs/profpatsch/execline/e.nix
index f5e44b66..657f41ce 100644
--- a/pkgs/profpatsch/execline/e.nix
+++ b/pkgs/profpatsch/execline/e.nix
@@ -7,15 +7,15 @@ let
 
   # minimal execline shell
   e = writeExecline "e" {} [
+    bins.rlwrap
+      "--substitute-prompt" "e> "
+      "--remember"
+      "--quote-characters" "\""
+      "--complete-filenames"
     "pipeline" [
-      bins.rlwrap
-        "--substitute-prompt" "e> "
-        "--remember"
-        "--quote-characters" "\""
-        "--complete-filenames"
       bins.cat
     ]
-    "forstdin" "cmd"
+    "forstdin" "-d\n" "cmd"
     "importas" "cmd" "cmd"
     bins.execlineb "-Pc" "$cmd"
   ];