zsh-workers
 help / color / mirror / code / Atom feed
* % sign after command output
@ 2020-10-22  9:46 Alvin Seville
  2020-10-22 10:37 ` Jörg Sommer
  2020-10-22 16:02 ` Bart Schaefer
  0 siblings, 2 replies; 3+ messages in thread
From: Alvin Seville @ 2020-10-22  9:46 UTC (permalink / raw)
  To: zsh-workers


[-- Attachment #1.1: Type: text/plain, Size: 178 bytes --]

Hello! Can you tell me can I see *%* sign after command output such as:
[image: Screen Shot 2020-10-22 at 7.42.37 PM.png]
?

-- 

*echo "Best regards, Alvin Seville." && exit 0*

[-- Attachment #1.2: Type: text/html, Size: 908 bytes --]

[-- Attachment #2: Screen Shot 2020-10-22 at 7.42.37 PM.png --]
[-- Type: image/png, Size: 39956 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: % sign after command output
  2020-10-22  9:46 % sign after command output Alvin Seville
@ 2020-10-22 10:37 ` Jörg Sommer
  2020-10-22 16:02 ` Bart Schaefer
  1 sibling, 0 replies; 3+ messages in thread
From: Jörg Sommer @ 2020-10-22 10:37 UTC (permalink / raw)
  To: Alvin Seville; +Cc: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Alvin Seville schrieb am Do 22. Okt, 19:46 (+1000):
> Hello! Can you tell me can I see *%* sign after command output such as:
> [image: Screen Shot 2020-10-22 at 7.42.37 PM.png]
> ?

Because there was no newline at the end of output of your script. The %
sign comes from the new prompt displayed after process execution returns
to Zsh.

Regards Jörg


-- 
Es ist außerdem ein weit verbreiteter Irrtum das USENET ‚helfen‘ soll.
Tatsächlich wurde USENET nachweislich zur persönlichen Belustigung
seiner Erfinder geschaffen.
Jörg Klemenz <joerg@gmx.net>, <b4ai4o$1u8vmt$2@ID-21915.news.dfncis.de>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 269 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: % sign after command output
  2020-10-22  9:46 % sign after command output Alvin Seville
  2020-10-22 10:37 ` Jörg Sommer
@ 2020-10-22 16:02 ` Bart Schaefer
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 2020-10-22 16:02 UTC (permalink / raw)
  To: Alvin Seville; +Cc: zsh-workers

On Thu, Oct 22, 2020 at 2:47 AM Alvin Seville <alvinseville7cf@gmail.com> wrote:
>
> Hello! Can you tell me can I see % sign after command output

See the documentation for "PROMPT_EOL_MARK".


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-22 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22  9:46 % sign after command output Alvin Seville
2020-10-22 10:37 ` Jörg Sommer
2020-10-22 16:02 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).