emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
hindol 2021-05-19T10:12:42.001100Z

Does Emacs have a REPL like experience for Bash scripts? I am trying to avoid running the script from beginning after every minor change.

motform 2021-05-19T18:09:56.002400Z

There are a few things like that, on the top of my head:

motform 2021-05-19T18:10:00.002600Z

https://github.com/Overdr0ne/shelldon

motform 2021-05-19T18:11:17.003100Z

I also recall seeing someone using fzf as a kind of interactive shell script engine, but I could not find that (reddit?) post

motform 2021-05-19T18:11:28.003300Z

https://ambrevar.xyz/lisp-repl-shell/index.html

hindol 2021-05-19T18:21:43.003500Z

Unfortunately, I need to write Bash scripts only (for work). Since a shell is pretty REPL like, is there a workflow where I can "send" a few lines from a script.sh file to be evaluated in another window/buffer where shell is running?

Young-il Choo 2021-05-19T23:17:42.003900Z

Have you tried sh-script-mode? It has a function sh-execute-region for evaluating part of the script.

👍 1