diff --git a/bootstrap.sh b/bootstrap.sh index 4c4aaa9..ae05403 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -29,7 +29,6 @@ check_all() { # --- Update --- update() { - mkdir -p $HOME/.config/zsh dotstate activate &>/dev/null || true sed -i.bak 's/^repo_mode\s*=\s*".*"/repo_mode = "Local"/' ~/.config/dotstate/config.toml &>/dev/null || echo 'repo_mode = "Local"' >> ~/.config/dotstate/config.toml &>/dev/null dotstate doctor --fix &>/dev/null || true @@ -59,6 +58,8 @@ install_binary() { local arch arch=$(arch) + mkdir -p $HOME/.config/zsh + case "$name" in starship) info "installing starship"