Email or username:

Password:

Forgot your password?
Top-level
peter

@alloydflanagan huh – so after looking into a bit i found out that bash supports this via ctrl-x-e:

**edit-and-execute-command (C-x C-e)**

gnu.org/software/bash/manual/h

this... is something i would have liked to have known a decade ago. now i need to find the equivalent in fish

3 comments
peter

@alloydflanagan OK, i think it's `Alt`+`E` but for whatever reason alt is giving me grief on a mac

fishshell.com/docs/current/int

> Alt+E edit the current command line in an external editor. The editor is chosen from the first available of the `$VISUAL` or `$EDITOR` variables.

A Lloyd Flanagan

@schpet I didn’t know that one either. They didn’t borrow that one from Emacs. There, it runs the current LISP expression.

Go Up