lolcommits

main
earnest ma 2022-09-28 19:43:04 -04:00
parent 582a1120b1
commit f6213341d8
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
3 changed files with 10 additions and 1 deletions

View File

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

View File

@ -1,4 +1,8 @@
#!/usr/bin/env bash
### lolcommits hook (begin) ###
LANG="en_CA.UTF-8" && PATH="$PATH:/Users/earne/.rbenv/versions/3.1.2/bin:/opt/homebrew/bin" && if [ ! -d "$GIT_DIR/rebase-merge" ] && [ "$LOLCOMMITS_CAPTURE_DISABLED" != "true" ]; then lolcommits --capture ; fi
### lolcommits hook (end) ###
COMMIT_INFO=$(git log -1 HEAD --format=reference)
notify-send 'Git commit: ' "$COMMIT_INFO" -u low

View File

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