101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

508
active users

#eshell

0 posts0 participants0 posts today

🔴 Today on #SystemCrafters Live, we'll take a look at a few different options for using Emacs as a shell or terminal emulator: Eshell, vterm, and Eat! We'll compare them to find the overall best experience in terms of speed, terminal emulation quality, and efficiency of use.

Join us on YouTube or Twitch:

- youtube.com/live/HG7pVCa0DVY
- twitch.tv/SystemCrafters
- systemcrafters.net/live-stream

🕐 in your time zone: time.is/compare/1800_in_Athens

#gnu#emacs#eshell
Continued thread

The killer #eshell feature is this:

Type something like "cp foo.txt /ssh:hostname:/path" and you copy it there. cd to remote paths, redirect to/from them, etc. It all works.

And it's not just ssh. It's also sudo. su. Even in combination - so sudo following ssh to a remote.

/end

Continued thread

Once in #eshell:

To get a clickable listing of files, use "dired" instead of "ls". Dired supports all the file operations you're after.

Press Tab for completion and you're presented with a popup with possible completions, which narrow as you type, per your configured fuzzy search options.

Type "emacs image.jpg" while in eshell and it opens it right within your window.

3/

Continued thread

I pointed out that #Eshell, part of #Emacs for years and years, does all this.

Because it integrates with #tramp, you can pretty seamlessly do things like redirect to files on other boxes via ssh, etc. If you use it with an Emacs distribution like Doom, all sorts of things are integrated nicely.

2/

@louis I don't often use shell commands in emacs, but when I do, I use #eshell. It has some neat built-in elisp commands, interfaces directly with existing emacs features like dired and it also works in either linux or Windows environment, as it's written entirely in #elisp. So by default it's the best cross-system terminal.

10/10 #emacs #eshell feature:
typing 'cd ...' does the right thing by default (i.e. it goes up two directories). Stacking extra '.''s makes it go up that number of directories (1 - # of '.'s)

It's so nice to not have to either repeat cd's or have to add '/../' on.

Replied in thread

@schaueho @loke @emacsomancer I find #eshell is handy for the odd quick file rename or other shell tweak when not in a tmux session. Perhaps my most frequent non-trivial use case is when debugging include issues when I'll copy a make V=1 line from my compilation window into my eshell window and tweak from a -c to a -E.