diff --git a/base/bashrc b/base/bashrc index bb18dd8..25c3966 100644 --- a/base/bashrc +++ b/base/bashrc @@ -30,6 +30,10 @@ x-load-configs # Import ssh keys in keychain ssh-add -A 2>/dev/null +x-have antidot && { + eval "$(antidot init)" +} + x-have rbenv && { eval "$(rbenv init - bash)" } @@ -38,4 +42,3 @@ x-have rbenv && { x-have oh-my-posh && { eval "$(oh-my-posh init bash --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)" } -source "$DOTFILES/config/alias" diff --git a/base/zshrc b/base/zshrc index e3e73ad..abb0828 100755 --- a/base/zshrc +++ b/base/zshrc @@ -18,6 +18,10 @@ export PATH="$XDG_BIN_HOME:$DOTFILES/local/bin:$HOME/.local/go/bin:$XDG_DATA_HOM x-load-configs +x-have antidot && { + eval "$(antidot init)" +} + export COMPLETION_WAITING_DOTS=true if type brew &> /dev/null; then diff --git a/config/homebrew/Brewfile b/config/homebrew/Brewfile index 64c9fa6..f9ea355 100644 --- a/config/homebrew/Brewfile +++ b/config/homebrew/Brewfile @@ -3,6 +3,7 @@ tap "anchore/grype" tap "cormacrelf/tap" tap "ddosify/tap" tap "dm3ch/tap" +tap "doron-cohen/tap" tap "gesquive/tap" tap "github/gh" tap "homebrew/autoupdate" @@ -248,6 +249,8 @@ brew "xdg-ninja", args: ["HEAD"] brew "yarn" # Watcher for macOS 10.14+ light/dark mode changes brew "cormacrelf/tap/dark-notify" +# Cleans up your $HOME from those pesky dotfiles +brew "doron-cohen/tap/antidot" # lets you quickly switch between multiple git user profiles brew "gesquive/tap/git-user" brew "keith/formulae/reminders-cli" diff --git a/scripts/install-go-packages.sh b/scripts/install-go-packages.sh index d74fb06..24dd6a2 100755 --- a/scripts/install-go-packages.sh +++ b/scripts/install-go-packages.sh @@ -29,6 +29,8 @@ packages=( github.com/rhysd/actionlint/cmd/actionlint@latest # simple terminal UI for git commands github.com/jesseduffield/lazygit@latest + # Cleans up your $HOME from those pesky dotfiles + github.com/doron-cohen/antidot@latest ) for pkg in "${packages[@]}"; do @@ -49,6 +51,11 @@ x-have git-profile && { && msg_ok "Installed completions for git-profile" } +x-have antidot && { + antidot update \ + && msg_ok "Updated antidot database" +} + echo "" msg_run "Clearing go cache"