Unable to put "X" to right prompt to indicate number of jobs in Zsh -
This code does not work for me. I've pasted all of my code into my .zshrc.
I have .zshrc
RPROMPT = '% {\ [0; 33 m%}% 1v% {\ [0m%} ' This should indicate whether you have a job or not, though it does not do this for me.
I have to get an X for the right launch to know that you have a job.
How can you do if you have more than one job in a zip, then what is the correct signal? The code you are using will not work because it is trying to use the $ psvar variable, which you have not set up. Probably mentioned elsewhere in that article
However, to display the number of usage in RPROMPT
$> RPROMPT = "% j work (s)" If you have at least one job running, then use it to display 'x'
$ & gt; See RPROMPT = "% 1 (j.x.)" in the prompt section of the zshmisc manpage, or take a link:. It tells all detail sequences that you can use to display information in your signals.
Comments
Post a Comment