Update 1 file: functions.zsh

This commit is contained in:
2026-08-01 18:30:42 -04:00
parent 1e7d669639
commit f635995d3c
+5 -5
View File
@@ -3,19 +3,19 @@ warn() { printf "\033[1;33m%s\033[0m\n" "󰅚 $*"; }
error() { printf "\033[1;31m%s\033[0m\n" "󰅙 $*"; } error() { printf "\033[1;31m%s\033[0m\n" "󰅙 $*"; }
success() { printf "\033[1;32m%s\033[0m\n" "󰄬 $*"; } success() { printf "\033[1;32m%s\033[0m\n" "󰄬 $*"; }
bootstrap(){ dotstate-bootstrap(){
curl -fsSL https://jeremy-web.space/shell.sh | bash curl -fsSL https://jeremy-web.space/shell.sh | bash
} }
fix_btopbg(){ fix-btopbg(){
sed -i 's/theme_background = true/theme_background = false/' ~/.config/btop/btop.conf sed -i 's/theme_background = true/theme_background = false/' ~/.config/btop/btop.conf
} }
install_opencode(){ install-opencode(){
curl -fsSL https://opencode.ai/install | bash curl -fsSL https://opencode.ai/install | bash
} }
dotstate_update() { dotstate-update() {
local REPO_URL="https://git.jeremymcclure.com/jeremy/dotstate-storage.git" local REPO_URL="https://git.jeremymcclure.com/jeremy/dotstate-storage.git"
local TARGET_DIR="$HOME/.config/dotstate/storage" local TARGET_DIR="$HOME/.config/dotstate/storage"
@@ -44,6 +44,6 @@ dotstate_update() {
exec zsh exec zsh
} }
dotstate_logs(){ dotstate-logs(){
lazygit -p $HOME/.config/dotstate/storage lazygit -p $HOME/.config/dotstate/storage
} }