Created
April 26, 2026 14:31
-
-
Save ZakomakotheZBH/70313b1f286feec69e0316758102633b to your computer and use it in GitHub Desktop.
A OS based off arch Linux you can install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # ZewpolOS Nano Installer | |
| # Built for iSH (Alpine Linux) | |
| BASHRC="$HOME/.bashrc" | |
| BIN_DIR="$HOME/.zewpol/bin" | |
| echo "------------------------------------------" | |
| echo " Installing ZewpolOS Nano v1.0... " | |
| echo "------------------------------------------" | |
| # Create directory for exclusive commands | |
| mkdir -p "$BIN_DIR" | |
| # Inject Colors and Search into .bashrc | |
| cat << 'EOF' >> "$BASHRC" | |
| # --- ZewpolOS Nano Configuration --- | |
| # Custom Blue/Green Theme | |
| export PS1="\[\033[01;34m\]ZewpolOS-Nano \[\033[01;32m\]\w \$ \[\033[00m\]" | |
| # Zewpol Search Redirect | |
| zewpol-search() { | |
| echo "Redirecting to Zewpol Ecosystem..." | |
| # 'open' works natively in iSH to launch iOS Safari | |
| open "https://zewpol.neocities.org" | |
| } | |
| # Add Z-Commands to System Path | |
| export PATH="$PATH:$HOME/.zewpol/bin" | |
| # ----------------------------------- | |
| EOF | |
| # Create 50 Exclusive Commands | |
| echo "Generating 50 exclusive Z-commands..." | |
| i=1 | |
| while [ $i -le 50 ]; do | |
| cat << EOF > "$BIN_DIR/z$i" | |
| #!/bin/sh | |
| echo "Zewpol Nano Exclusive Command #$i is online and ready." | |
| EOF | |
| chmod +x "$BIN_DIR/z$i" | |
| i=$((i + 1)) | |
| done | |
| # Create the Z-Logo command | |
| cat << 'EOF' > "$BIN_DIR/z-logo" | |
| #!/bin/sh | |
| echo " ______ _ " | |
| echo " |___ / | |" | |
| echo " / / ___ __ __ _ __ ___ | |" | |
| echo " / / / _ \\ \ /\ / /| '_ \ / _ \ | |" | |
| echo " / /__| __/ \ V V / | |_) || (_) || |" | |
| echo " /_____|\___| \_/\_/ | .__/ \___/ |_|" | |
| echo " | | " | |
| echo " N A N O E D I T I O N " | |
| EOF | |
| chmod +x "$BIN_DIR/z-logo" | |
| echo "Installation Complete!" | |
| echo "Type 'source ~/.bashrc' and then 'z-logo' to begin." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment