]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Modern dc understands -
authorSergey Matveev <stargrave@stargrave.org>
Sun, 7 May 2023 17:21:58 +0000 (20:21 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 7 May 2023 17:21:58 +0000 (20:21 +0300)
dc/bin/zc

index 4998a567d24e202260b7114cc5b8e3a7cb6e57e6..71b29f154140b86d255bb0002eeb6595fd016c80 100755 (executable)
--- a/dc/bin/zc
+++ b/dc/bin/zc
@@ -4,4 +4,4 @@ exec rlwrap \
     --history-filename /tmp/.dc_history \
     --substitute-prompt "> " \
     --prompt-colour=red \
-    dc -f ~/.dc -f /dev/stdin
+    dc -f ~/.dc -f -