zoxide and abort on error for insta
This commit is contained in:
parent
6a462556a2
commit
55019903a7
2 changed files with 2 additions and 3 deletions
|
@ -55,7 +55,7 @@ insta () {
|
||||||
user_list=("${insta_default_users[@]}")
|
user_list=("${insta_default_users[@]}")
|
||||||
fi
|
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
|
if $stories_only; then
|
||||||
cmd+=(--stories --no-profile-pic --no-posts)
|
cmd+=(--stories --no-profile-pic --no-posts)
|
||||||
else
|
else
|
||||||
|
|
3
.zshrc
3
.zshrc
|
@ -31,6 +31,5 @@ autosource nas
|
||||||
autosource fuck
|
autosource fuck
|
||||||
autosource download
|
autosource download
|
||||||
|
|
||||||
#test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue