On 5/9/2024 10:57 AM, Christopher Howard wrote: > ``` ~/Scratch/script.esh > echo hello world > ``` > > M-: (eshell-source-file "~/Scratch/script.esh") > > gives > > eval-expression: No catch for tag: eshell-replace-command, (let ((eshell-command-name '"~/Scratch/script.esh") (eshell-command-arguments 'nil)) (eshell-trap-errors (eshell-named-command "echo" (list "hello" "world")))) Looking at this code, I doubt 'eshell-source-file' ever worked, so the documentation is probably just wrong. Do the attached patches help you? They also add support for running Eshell scripts from the command line using a shebang.