bash terminal, want the cursor to be shown at the beginning of the next line

Viewed 1484

I use bash terminal on macos.

The user name, computer name and file path face most of the line, so if I write a long command I start on one line and continue on the next line.

Instead I would prefer the line cursor starts at the next line below user name and computer name.

#Current
user-mane@computer-name:~/directory/sub-directory/another-sub-directory$ls -la

#I would like to have 
user-mane@computer-name:~/directory/sub-directory/another-sub-directory$
ls -la

Do you have any idea, how I could start the cursor at he begining of the next line.

enter image description here

1 Answers

Put a newline at the end of $PS1 in the shell startup files.

Related