dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.62k stars 66 forks source link

[BUG] Multiline commands are not supported #67

Closed NightMachinery closed 6 years ago

NightMachinery commented 6 years ago

Just paste this snippet and you'll see:

(require-macros '[closh.core :refer [sh-str]])

(defn closh-prompt []
  (sh-str fish -c fish_prompt))

When I make it into one-line commands, the error is gone:

(require-macros '[closh.core :refer [sh-str]])

(defn closh-prompt []  (sh-str fish -c fish_prompt))
dundalek commented 6 years ago

Yeah, multiline input is not yet supported. See more in https://github.com/dundalek/closh/issues/17. I am closing this issue as duplicate.