aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2023-08-15 20:57:14 +0500
committerAnton Bobov <anton@bobov.name>2023-08-15 20:57:14 +0500
commit5466c898b4ff0d33707e56b08ee17e145cc141d6 (patch)
tree57bf14c7387710ae8e3baf38b0d7832f036484d2 /files/.zsh/rc
parenta0f133fc19674c1a198143571e159a4aebdd1441 (diff)
[zsh] Fix eget installation
Diffstat (limited to 'files/.zsh/rc')
-rw-r--r--files/.zsh/rc/S20_eget1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/.zsh/rc/S20_eget b/files/.zsh/rc/S20_eget
index 881f7dd..0a0aa26 100644
--- a/files/.zsh/rc/S20_eget
+++ b/files/.zsh/rc/S20_eget
@@ -11,6 +11,7 @@ function () {
unset -f eget
temp_file=$(mktemp)
trap 'rm -f "$temp_file"' EXIT
+ mkdir -p "$(dirname "$__EGET_LOCATION")"
curl -o "$temp_file" "$EGET_SCRIPT_URL"
echo "$EGET_SCRIPT_CHECKSUM $temp_file" | shasum --algorithm 256 --check --quiet
(cd $(dirname "$__EGET_LOCATION") && sh "$temp_file")