feat: antidot

Cleans up your $HOME from those pesky dotfiles
This commit is contained in:
2024-06-09 15:57:41 +03:00
parent 0495ac1ea8
commit 493ad17c15
4 changed files with 18 additions and 1 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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"