From 55019903a7135367a4cc739d35ba014c477ca9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Ole=20H=C3=BCbner?= Date: Tue, 13 May 2025 11:35:06 +0200 Subject: [PATCH] zoxide and abort on error for insta --- .zsh_functions/insta.zsh | 2 +- .zshrc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.zsh_functions/insta.zsh b/.zsh_functions/insta.zsh index a0f2503..a899cbd 100644 --- a/.zsh_functions/insta.zsh +++ b/.zsh_functions/insta.zsh @@ -55,7 +55,7 @@ insta () { user_list=("${insta_default_users[@]}") fi - local cmd=(uvx --with browser_cookie3 instaloader -b Safari "${user_list[@]}" --fast-update) + local cmd=(uvx --with browser_cookie3 instaloader -b Safari "${user_list[@]}" --fast-update --abort-on=302,400,401,429) if $stories_only; then cmd+=(--stories --no-profile-pic --no-posts) else diff --git a/.zshrc b/.zshrc index b541348..3c4544a 100755 --- a/.zshrc +++ b/.zshrc @@ -31,6 +31,5 @@ autosource nas autosource fuck autosource download -#test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" - +eval "$(zoxide init --cmd cd zsh)"