Fix getting started example for Z-shell (#44)

Apropos zsh, our patch has now been upstreamed! See:
https://github.com/zsh-users/zsh/commit/326d9c203b39
This commit is contained in:
Justine Tunney 2021-02-18 16:32:31 -08:00
parent 6f35bd47ab
commit 08d3700c15

View file

@ -24,7 +24,7 @@ five files to get started:
```sh
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.2.zip
unzip cosmopolitan-amalgamated-0.2.zip
echo 'main() { printf("hello world\n"); }' >hello.c
printf 'main() { printf("hello world\\n"); }\n' >hello.c
gcc -g -O -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
-o hello.com.dbg hello.c -fuse-ld=bfd -Wl,-T,ape.lds \
-include cosmopolitan.h crt.o ape.o cosmopolitan.a