zoxide and abort on error for insta

This commit is contained in:
Jan-Ole Hübner 2025-05-13 11:35:06 +02:00
parent 6a462556a2
commit 55019903a7
2 changed files with 2 additions and 3 deletions

View file

@ -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

3
.zshrc
View file

@ -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)"