zsh-workers
 help / color / mirror / code / Atom feed
* bug in prompt?
@ 2014-12-22  6:35 Ray Andrews
  2014-12-22  6:46 ` Bart Schaefer
  2014-12-22  8:10 ` Bart Schaefer
  0 siblings, 2 replies; 4+ messages in thread
From: Ray Andrews @ 2014-12-22  6:35 UTC (permalink / raw)
  To: Zsh hackers list

Just did a pull & make:


    pts/7 HP-y5--5-Debian1 root /aWorking/zshbuild/Src 3$ zsh
    zsh-5.0.7-138-g247f754

    pts/7 HP-y5--5-Debian1 root /aWorking/zshbuild/Src 4$ . ./zsh
    zsh-5.0.7-138-g247f754
    ./zsh:1: bad pattern:
    ^@^H^@(^@$^@!^@^F^@^@^@4^@^@^@4\M-^@^D^H4\M-^@^D^H^@^A^@^@^@^A^@^@^E^@^@^@^D^@^@^@^C^@^@^@4^A^@^@4\M-^A^D^H4\M-^A^D^H^S^@^@^@^S^@^@^@^D^@^@^@^A^@^@^@^A^@^@^@^@^@^@^@^@\M-^@^D^H^@\M-^@^D^H^Ho\n^@^Ho\n^@^E^@^@^@^@^P^@^@^A^@^@^@^@p\n^@^@\M-p^N^H^@\M-p^N^H

    ./zsh:4: permission denied:
    ./zsh:5: parse error near `^P'
    ./zsh:5: parse error in command substitution
    [2] 30359
    ./zsh:5: permission denied:

    pts/7 HP-y5--5-Debian1 root /aWorking/zshbuild/Src 4$
    [2]  + exit 126     \x04\x14\x03GNU���U��@v���0m

    pts/7 HP-y5--5-Debian1 root /aWorking/zshbuild/Src 4$ echo
    $ZSH_PATCHLEVEL
    zsh-5.0.7-138-g247f754
    zsh-5.0.7-138-g247f754


... It seems to abort the binary and I'm back to the previous good one. 
Using a plain prompt didn't help. It's not getting as far as reading 
.zshrc. 'make check' = all fine.



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

* Re: bug in prompt?
  2014-12-22  6:35 bug in prompt? Ray Andrews
@ 2014-12-22  6:46 ` Bart Schaefer
  2014-12-22  8:10 ` Bart Schaefer
  1 sibling, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 2014-12-22  6:46 UTC (permalink / raw)
  To: Ray Andrews; +Cc: Zsh hackers list

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

On Sunday, December 21, 2014, Ray Andrews <rayandrews@eastlink.ca> wrote:

> Just did a pull & make:
>
>
>    pts/7 HP-y5--5-Debian1 root /aWorking/zshbuild/Src 4$ . ./zsh


Er, why are you attempting to read the zsh binary as a shell script?
That's what the "." command does.

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

* Re: bug in prompt?
  2014-12-22  6:35 bug in prompt? Ray Andrews
  2014-12-22  6:46 ` Bart Schaefer
@ 2014-12-22  8:10 ` Bart Schaefer
  2014-12-22 16:41   ` Ray Andrews
  1 sibling, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2014-12-22  8:10 UTC (permalink / raw)
  To: Zsh hackers list

On Dec 21, 10:35pm, Ray Andrews wrote:
}
} Just did a pull & make:

Also I'm completely baffled what this has to do with the prompt.


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

* Re: bug in prompt?
  2014-12-22  8:10 ` Bart Schaefer
@ 2014-12-22 16:41   ` Ray Andrews
  0 siblings, 0 replies; 4+ messages in thread
From: Ray Andrews @ 2014-12-22 16:41 UTC (permalink / raw)
  To: zsh-workers

On 12/22/2014 12:10 AM, Bart Schaefer wrote:
> On Dec 21, 10:35pm, Ray Andrews wrote:
> }
> } Just did a pull & make:
>
> Also I'm completely baffled what this has to do with the prompt.
>
Only that the first line that garbled seemed to be the printout of
the build number which I have attached to my prompt.  It's not the first 
time I haven't noticed that " . ./file " isn't " ./file ". As Lao Tzu 
said: "Before you can see, you must look". Pardon.

Too bad there wasn't some way of flagging that error:

"You are trying to source a binary, twit."


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

end of thread, other threads:[~2014-12-22 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-22  6:35 bug in prompt? Ray Andrews
2014-12-22  6:46 ` Bart Schaefer
2014-12-22  8:10 ` Bart Schaefer
2014-12-22 16:41   ` Ray Andrews

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).