aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S20_eget
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2023-05-11 13:26:56 +0500
committerAnton Bobov <anton@bobov.name>2023-05-11 13:26:56 +0500
commit8cf98606d56391e7eb25a247f04f9a8e8b2562ca (patch)
treea43a26dfc40e40c8c3a3db795000c8515948b7f7 /files/.zsh/rc/S20_eget
parent5bf7733be5b40e653e3843e8fd74fcbf719a6d1b (diff)
Updates
Diffstat (limited to 'files/.zsh/rc/S20_eget')
-rw-r--r--files/.zsh/rc/S20_eget6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/.zsh/rc/S20_eget b/files/.zsh/rc/S20_eget
index 09eef28..881f7dd 100644
--- a/files/.zsh/rc/S20_eget
+++ b/files/.zsh/rc/S20_eget
@@ -1,7 +1,7 @@
function () {
- EGET_LOCATION="$HOME/.local/bin/eget"
+ __EGET_LOCATION="$HOME/.local/bin/eget"
- if [ ! -x "$EGET_LOCATION" ] ; then
+ if [ ! -x "$__EGET_LOCATION" ] ; then
function eget() {
local EGET_SCRIPT_URL="https://zyedidia.github.io/eget.sh"
local EGET_SCRIPT_CHECKSUM="0e64b8a3c13f531da005096cc364ac77835bda54276fedef6c62f3dbdc1ee919"
@@ -13,7 +13,7 @@ function () {
trap 'rm -f "$temp_file"' EXIT
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")
+ (cd $(dirname "$__EGET_LOCATION") && sh "$temp_file")
;;
*)
return