lolcommits

earnest ma 2022-09-28 19:43:04 -04:00
parent 582a1120b1
commit 14364c5a7d
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
3 changed files with 12 additions and 2 deletions

View File

@ -30,6 +30,7 @@ brew "gnupg"
brew "go" brew "go"
brew "htop" brew "htop"
brew "hugo" brew "hugo"
brew "imagemagick"
brew "lychee" brew "lychee"
brew "neovim" brew "neovim"
brew "onefetch" brew "onefetch"
@ -40,6 +41,7 @@ brew "poetry"
brew "poppler" brew "poppler"
brew "pyright" brew "pyright"
brew "r" brew "r"
brew "rbenv"
brew "restic" brew "restic"
brew "ripgrep" brew "ripgrep"
brew "rsync" brew "rsync"
@ -48,6 +50,7 @@ brew "rustup-init"
brew "shellcheck" brew "shellcheck"
brew "stow" brew "stow"
brew "tmux" brew "tmux"
brew "wakatime-cli"
brew "yt-dlp" brew "yt-dlp"
brew "zoxide" brew "zoxide"
brew "zsh" brew "zsh"

View File

@ -1,4 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
COMMIT_INFO=$(git log -1 HEAD --format=reference) COMMIT_INFO=$(git log -1 HEAD --format=reference)
notify-send 'Git commit: ' "$COMMIT_INFO" -u low
if type "notify-send" > /dev/null; then
notify-send 'Git commit: ' "$COMMIT_INFO" -u low
elif type "osascript" > /dev/null; then
osascript -e "display notification "$COMMIT_INFO" with title \"Git commit\""
fi

View File

@ -33,7 +33,9 @@ fi
export CALIBRE_USE_SYSTEM_THEME=0 export CALIBRE_USE_SYSTEM_THEME=0
export CALIBRE_USE_DARK_PALETTE=1 export CALIBRE_USE_DARK_PALETTE=1
# macOS: homebrew # macOS
[ -f /opt/homebrew/bin/brew ] && eval "$(/opt/homebrew/bin/brew shellenv)" [ -f /opt/homebrew/bin/brew ] && eval "$(/opt/homebrew/bin/brew shellenv)"
eval "$(rbenv init - zsh)"
export LOLCOMMITS_DELAY=2
export PATH export PATH