From 6d67a22cfdbdf5a56bf435e590a1141a0548578b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Ole=20H=C3=BCbner?= Date: Sat, 5 Jul 2025 18:46:18 +0200 Subject: [PATCH] fix: tidal stuff --- .zsh_functions/download.zsh | 6 +++--- .zshrc | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.zsh_functions/download.zsh b/.zsh_functions/download.zsh index 669dd90..c7ec31f 100644 --- a/.zsh_functions/download.zsh +++ b/.zsh_functions/download.zsh @@ -24,7 +24,7 @@ for file in ~/.zshrc.d/*.zsh(.N); do source "$file" done -source ~/.zsh_functions/youtube.zsh +source ~/.zsh_functions/youtube.zsh fi mdl () { @@ -58,7 +58,7 @@ cd "$mount_point/$path_on_nas" echo "SMB share mounted successfully." if [[ "$*" == *"tidal.com"* ]]; then echo "TIDAL DETECTED" - uvx tidal-dl -l $* + uvx tidal-dl -l $* else echo "Using qobuz-dl via uvx at: $(which uvx)" echo "QOBUZ URL: $*" @@ -96,7 +96,7 @@ case "$url" in echo "Detected YouTube URL: $url" ytr "$url" ;; - (*qobuz*) + (*qobuz*|*tidal*) echo "Detected Qobuz URL: $url" mdl "$url" if [[ $used_clipboard -eq 1 ]]; then diff --git a/.zshrc b/.zshrc index eb977ad..0282b06 100755 --- a/.zshrc +++ b/.zshrc @@ -1,4 +1,5 @@ export PATH="$PATH:$HOME/.local/bin:$HOME/bin" +export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH" # ── 2. Load .env files from ~/.environment.d/ ─────────────────── # Automatically export all variables defined while sourcing .env files setopt allexport