https://github.com/xxh/zsh-portable
Building portable Zsh
https://github.com/xxh/zsh-portable
shell zsh
Last synced: over 1 year ago
JSON representation
Building portable Zsh
- Host: GitHub
- URL: https://github.com/xxh/zsh-portable
- Owner: xxh
- License: bsd-2-clause
- Created: 2020-03-07T14:38:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-25T09:24:21.000Z (over 6 years ago)
- Last Synced: 2024-10-24T18:33:38.653Z (over 1 year ago)
- Topics: shell, zsh
- Language: Dockerfile
- Homepage:
- Size: 27.9 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
| Note! The best version was created in https://github.com/romkatv/zsh-bin/ - use it fisrt. |
|---|
The docker containers to build portable zsh. Originally created for [xxh project](https://github.com/xxh/xxh).
## Building
### libc
```shell script
./build-zsh-portable-libc-ubuntu.sh
ls -la ./result
```
### musl
```
./build-zsh-portable-musl-alpine.sh
```
Version with relative lib path:
```
./build-zsh-portable-musl-alpine-portable.sh
```
## Example
```
mkdir -p /tmp/zsh-portable
cp ./result/* /tmp/zsh-portable
cd /tmp/zsh-portable && tar -xvzf zsh-portable-musl-alpine-portable-Linux-x86_64.tar.gz
./zsh.sh
```
## Related
* [zsh.org / Portable rootless ZSH](https://www.zsh.org/mla/workers/2019/msg00866.html)