From fabef2cc5c0f75a7ddcca326125ae54d5be66e9e Mon Sep 17 00:00:00 2001 From: memdmp Date: Fri, 3 Jan 2025 03:31:45 +0100 Subject: fix: installer shouldn't use -eax and should curl from git --- install.zsh | 5 ++--- 1 file 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 -- cgit v1.2.3