Update 1 file: functions.zsh
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user