Update 1 file: bootstrap.sh
This commit is contained in:
+2
-1
@@ -29,7 +29,6 @@ check_all() {
|
|||||||
# --- Update ---
|
# --- Update ---
|
||||||
|
|
||||||
update() {
|
update() {
|
||||||
mkdir -p $HOME/.config/zsh
|
|
||||||
dotstate activate &>/dev/null || true
|
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
|
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
|
dotstate doctor --fix &>/dev/null || true
|
||||||
@@ -59,6 +58,8 @@ install_binary() {
|
|||||||
local arch
|
local arch
|
||||||
arch=$(arch)
|
arch=$(arch)
|
||||||
|
|
||||||
|
mkdir -p $HOME/.config/zsh
|
||||||
|
|
||||||
case "$name" in
|
case "$name" in
|
||||||
starship)
|
starship)
|
||||||
info "installing starship"
|
info "installing starship"
|
||||||
|
|||||||
Reference in New Issue
Block a user