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