- Yabs.io Search (in tags:eshell)urn:uuid:{DEAD4A84-AED5-4F43-1848-24C66327DF7A}2024-03-28T05:14:17Zakreisher/eshell-syntax-highlighting: Syntax highlighting for Eshell12944732022-11-27T05:38:07Z2022-11-27T05:49:55ZHighlight eshell syntax on command line and in script(?)1821mzimmermdot-files/emacs-eshell.org at master · howardabrams/dot-files12944722022-11-27T05:33:13ZZEshell commands for init.el1821mzimmermGNU emacs-devel Archives12944252022-11-23T19:55:00ZZArchives of GNU emacs-devel (includes eshell)1821mzimmerm#57635 - 29.0.50; Look into using generator.el's CPS machinery to replace 'eshell-do-eval' - GNU bug report logs12944092022-11-22T07:00:06ZZBug in eshell-do-eval loop that probably sets exported variable to nil.1821mzimmerm#59469 - 29.0.50; Eshell “for“ loop: Calling a non-lisp command (example: /usr/bin/tail) sets the variable exported in the {} block of “for var in list {}“ to nil - GNU bug report logs12944072022-11-22T02:16:39ZZReport GNU emacs bugs including eshell here1821mzimmermeshell: Is there an existing method of redirecting output to a buffer and then show the buffer in the other window when done? - Emacs Stack Exchange12943842022-11-20T08:55:17ZZ1
In eshell, you can redirect stdout to an emacs buffer in a few different ways.
rails g scaffold --help > (switch-to-buffer “*scaffold*“)
rails g scaffold --help >>> #1821mzimmermNewest 'eshell' Questions - Emacs Stack Exchange12943832022-11-20T07:22:37ZZ1821mzimmermNewest 'eshell' Questions - Stack Overflow12943822022-11-20T07:21:21ZZ1821mzimmerm(2) standalone eshell script : emacs12943792022-11-20T01:19:15ZZThe only known way to run eshell script from shell (outside emacs). This starts emacs UI. Add --batch to run without UI.
emacs --debug-init -q --eval “(progn (require 'em-script) (let ((eshell-rc-script \“/tmp/wtf.esh\“)) (eshell)))“1821mzimmermmanateelazycat/aweshell: Awesome shell extension base on eshell with wonderful features!12943692022-11-19T09:45:26ZZthis is eshell extension1821mzimmermEshell - WikEmacs12943682022-11-19T09:43:37ZZ1821mzimmermEmacsWiki: Batch Mode12943672022-11-19T09:15:19ZZ1821mzimmermEmacs shell scripts - run emacs code as shell script - Stack Overflow12943652022-11-18T17:41:48Z2022-11-18T19:06:38ZUse shebang + exec emacs --script to run emacs code as a shell script but also as emacs code, for example load-file
#! /bin/sh
“:“; exec emacs --no-site-file --script “$0“ -- “$@“ # -*-emacs-lisp-*-
(print (+ 2 2))1821mzimmermRun elisp program without Emacs? - Stack Overflow12943582022-11-18T08:46:34Z2022-11-18T23:54:35ZRun elisp code as script - summary1821mzimmerm(2) Yes, Eshell is my main shell : emacs12943402022-11-17T05:35:54ZZ1821mzimmermOrg-babel-eshell12943392022-11-17T04:51:14ZZOrg babel mode for eshell1821mzimmermHow to copy multiple specified files in eshell - Emacs Stack Exchange12943382022-11-16T20:03:49ZZEshell accepts ksh-like syntax. Amog others you can specify a group of files by (file1|file2|...|fileN). But, that is a bit tricky since parentheses also indicate lisp forms to be evaluated (for an example see the answer by lawlist). Use '' to tell it is a predicate, not form: cp /Users/HOME/.0.data/.0.emacs/.0.sources/emacs/(buffer.c|buffer.h|dispextern.h|keyboard.c|nsterm.m|w32term.c|window.h|xdisp.c|xterm.c)'' ~/Desktop/emacs/src/1821mzimmermEmacsWiki: Category Eshell12943352022-11-15T18:26:53ZZ1821mzimmermHow to source a bash script in emacs' eshell - Super User12943342022-11-15T16:54:43ZZAnother way to run bash script from eshell1821mzimmermHow to execute external commands from an Eshell script - Emacs Stack Exchange12943332022-11-15T16:51:19ZZExecute any external command such as bash from eshell1821mzimmermPresenting the Eshell12943132022-11-15T07:25:45ZZ1821mzimmermemacs/lisp/eshell at master · emacs-mirror/emacs12942962022-11-13T22:40:22Z2022-11-13T23:33:50Zeshell is part of emacs on github1821mzimmermEschewing Zshell for Emacs Shell12942912022-11-13T05:32:26ZZ1821mzimmermEshell: The Emacs Shell12942902022-11-12T22:32:32ZZ1821mzimmermMastering Eshell - Mastering Emacs12942892022-11-12T22:23:46ZZ1821mzimmermdired - Finding files by names - Emacs Stack Exchange12942642022-11-11T21:08:21Z2022-11-12T14:26:48ZAlso describes how to use eshell commands for finding etc.1821mzimmerm