Updated README.

This commit is contained in:
Ali
2025-12-12 13:53:41 +08:00
parent df0565d2c1
commit 49b92b4aa6

View File

@@ -4,15 +4,22 @@
Just some common scripts for all every Linux shells. Just some common scripts for all every Linux shells.
## Installation ## Installation
To `/usr/local/shared-scripts`: (reecommended) To `/usr/local/shared-scripts`: (reecommended)
```bash ```bash
git clone https://githive.duckdns.org/shared/scripts ~/shared-scripts && \ git clone https://githive.duckdns.org/shared/scripts ~/shared-scripts && \
sudo mv ~/shared-scripts /usr/local/ && \ sudo mv ~/shared-scripts /usr/local/ && \
echo -e "\n# Shared Scripts:\n. /usr/local/scripts/startup.sh \"/usr/local/shared-scripts\"" >> ~/.bashrc echo -e "\n# Shared Scripts:\n. /usr/local/shared-scripts/startup.sh \"/usr/local/shared-scripts\"" >> ~/.bashrc
``` ```
Auto update (via Cron):
```
*/15 * * * * * git clone https://githive.duckdns.org/shared/scripts /usr/local/shared-scripts > /dev/null 2>&1
```
To `$HOME/shared-scripts`: To `$HOME/shared-scripts`:
```bash ```bash
git clone https://githive.duckdns.org/shared/scripts ~/shared-scripts && \ git clone https://githive.duckdns.org/shared/scripts ~/shared-scripts && \