diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-12-20 13:05:54 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-12-21 09:32:35 -0500 |
commit | e83f377aba7079eca2ab774e7f27f2704f669f43 (patch) | |
tree | 1a6a60fc78ad9d1fe94b90830c4d277dd18fb236 /2022/talks/eshell.md | |
parent | b2557aa762f38de500eb8f14305e35d40b0606df (diff) | |
download | emacsconf-wiki-e83f377aba7079eca2ab774e7f27f2704f669f43.tar.xz emacsconf-wiki-e83f377aba7079eca2ab774e7f27f2704f669f43.zip |
add answer captions, add rest of IRC comments
Diffstat (limited to '2022/talks/eshell.md')
-rw-r--r-- | 2022/talks/eshell.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2022/talks/eshell.md b/2022/talks/eshell.md index b1ffac32..011b1a31 100644 --- a/2022/talks/eshell.md +++ b/2022/talks/eshell.md @@ -134,6 +134,27 @@ Want _all_ the code? See my literate dotfiles for #emacs at <https://github.com/ command history and directory tracking? - A: I don't. If I am going to SSH somewhere, I just start vterm, and haven't thought about any interop. +- Q: Where can I find your eshell/do command? Probably you also have another bunch of interesting Eshell helpers. + - https://gitlab.com/howardabrams/hamacs/-/blob/main/ha-eshell.org?plain=1#L741-761 + +Other comments from IRC: + +- Impressive. eshell is an emacs REPL! I knew I could issue some emacs commands but not this level of interactivity. Thanks! +- The real elisp REPL is ielm, but eshell is more generally useful. +- eshell is a REPL focused on the specific niche of shell. ielm's the pure elisp repl, and it rocks. +- yes. i know ielm. just hadn't realised how powerful eshell is. +- howard-abrams : every time I've watched a talk of yours over the years, Emacs/Org-mode has absorbed one more use cases of mine, and made them be in literate form. I'm down to Emacs and a web browser, so I'm looking ahead to your talk about the Web in Emacs :) +- You can also leverage org-mode source blocks tu turn outputs into inputs to other blocks so, plenty of alternatives to pipes +- Wow! Eshell is awesome! I have just learnt more tips! Thanks howard-abrams! +- I think of Eshell as my *universal* machine REPL, i.e. not just ielm for emacs/elisp nor a shell for the machine, but *both* emacs/elisp and the OS/env.. In that way it's quite neat. +- howard-abrams: thank you, very inspiring! I've always found 'normal' command line usage somewhat cumbersome and am certanly going to look at the code +- I really like eshell but I sometimes find the aliases a bit hard to write. alias f if $* {find-file $1; for i in {cdr {flatten-tree $*}} {find-file-other-window $i}} {echo "No files"} - Should probably use Elisp instead + - I think the aliases are almost completely broken, and only seem to work in the barest of cases. + - Yes, in particular the Lisp part is broken. In combination with $* + - I agree that you should write a function for that. Because as I mentioned in my talk, aliases don't accept $* at all. + - Oh, they do. This alias works. I don't recall the reason why I wrote this as an alias. I probably just wanted to use an alias where possible. + - Huh ... that works? I need to try it out. I couldn't get that working, so that is why I wrote the function that I did. +- watching your talk now; TIL /dev/kill and /devl/clip [[!inline pages="internal(2022/info/eshell-after)" raw="yes"]] |