diff options
author | 2025-01-03 03:31:45 +0100 | |
---|---|---|
committer | 2025-01-03 03:31:45 +0100 | |
commit | fabef2cc5c0f75a7ddcca326125ae54d5be66e9e (patch) | |
tree | 14bdfbd9fb791bb937cf526717ff7fc6e1be8e43 /install.zsh | |
parent | a4a70260b4525a9f66aa57551b2679450bae9006 (diff) | |
download | zuwu-fabef2cc5c0f75a7ddcca326125ae54d5be66e9e.tar.gz zuwu-fabef2cc5c0f75a7ddcca326125ae54d5be66e9e.tar.bz2 zuwu-fabef2cc5c0f75a7ddcca326125ae54d5be66e9e.tar.lz zuwu-fabef2cc5c0f75a7ddcca326125ae54d5be66e9e.zip |
fix: installer shouldn't use -eax and should curl from git
Diffstat (limited to 'install.zsh')
-rwxr-xr-x | install.zsh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/install.zsh b/install.zsh index 2c76cc4..edcf501 100755 --- a/install.zsh +++ b/install.zsh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -set -eax +set -e __filename="$(realpath "$0")" __dirname="$(dirname "$__filename")" @@ -17,8 +17,7 @@ fi mkdir -p "$TARGET" if [[ "$(basename "$__filename")" == "zsh" ]]; then - echo 'todo: implement this' - exit 1 + curl -fsSLo "$TARGET/zuwu.zsh" https://git.estrogen.zone/zuwu.git/plain/zuwu.zsh else cp -r "$__dirname/zuwu.zsh" "$TARGET/zuwu.zsh" fi |