Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to configure my prompt in tcsh to make it multi-line (i.e having one line provide system info, and the next line the one where I type commands).

Currently I have the following:

set prompt="(remote) ${green}%n ${green}@ %m ${cyan}%~ ${white} ${end}"

I managed to make it multi-line by adding %{\n>%} at the end of it and other similar variations, but this messes my bindkeys

set prompt="(conda) ${green}%n ${green}@ %m ${cyan}%~ ${white} %{\n>%} ${end}"

Any thoughts on how to do this properly?

For reference, in case it matters, my bindkeys are:

bindkey "^n" history-search-forward
bindkey "^p" history-search-backward
bindkey "^r" i-search-back
bindkey "^s" i-search-fwd
share|improve this question
Maybe like explained here? – On a eu. Feb 4 '14 at 18:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.