1 parent dcb0aea commit 6315274Copy full SHA for 6315274
2 files changed
.zshrc
@@ -43,6 +43,7 @@ alias lgit="lazygit"
43
# custom llm caller alias
44
alias pplx="~/.config/zsh/scripts/pplx.sh"
45
alias update="~/.config/zsh/scripts/update.sh"
46
+alias brewbackup="~/.config/zsh/scripts/brew_backup.sh"
47
48
# zoxide to replace cd
49
eval "$(zoxide init --cmd "cd" zsh)"
zsh/scripts/brew_backup.sh
@@ -0,0 +1,13 @@
1
+#!/bin/zsh
2
+#
3
+
4
+_PWD=$(pwd)
5
6
+cd ~/.config
7
+~/.config/homebrew/bundle_dump.sh
8
9
+git add homebrew/Brewfile
10
+git commit -m "Backup Homebrew bundle $(date +%Y-%m-%d_%H:%M:%S)"
11
+git push
12
13
+cd $_PWD
0 commit comments