Search code examples
shellindentationfish

How to disable multi-line indenting in fish shell CLI?


When I enter multi-line commands, fish indents it like this:

before

I'd like it to start new line from the begining (first terminal column). After pressing enter on the first line, it should look like this:

after

Is it possible? Is there an option to set fish behave this way?


Solution

  • It's not possible to do this in the command-line editor.

    You might like to use a full-featured editor by pressing Alt+e.