简体   繁体   中英

zsh add command to new line

I use Zsh on windows 10

I need to write the command in new line.

在此输入图像描述

Like bash

在此输入图像描述

This is set up for your current theme in the file

${ZSH}/themes/${ZSH_THEME}.zsh-theme

and the variable PROMPT='${user}${host}|' . Insert a newline in this string and it will display when you reload the config. The quote characters are important.

PROMPT='${user}${host}
|'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM