mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-22 01:56:02 +00:00
feat: antidot
Cleans up your $HOME from those pesky dotfiles
This commit is contained in:
@@ -30,6 +30,10 @@ x-load-configs
|
|||||||
# Import ssh keys in keychain
|
# Import ssh keys in keychain
|
||||||
ssh-add -A 2>/dev/null
|
ssh-add -A 2>/dev/null
|
||||||
|
|
||||||
|
x-have antidot && {
|
||||||
|
eval "$(antidot init)"
|
||||||
|
}
|
||||||
|
|
||||||
x-have rbenv && {
|
x-have rbenv && {
|
||||||
eval "$(rbenv init - bash)"
|
eval "$(rbenv init - bash)"
|
||||||
}
|
}
|
||||||
@@ -38,4 +42,3 @@ x-have rbenv && {
|
|||||||
x-have oh-my-posh && {
|
x-have oh-my-posh && {
|
||||||
eval "$(oh-my-posh init bash --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
eval "$(oh-my-posh init bash --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
||||||
}
|
}
|
||||||
source "$DOTFILES/config/alias"
|
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ export PATH="$XDG_BIN_HOME:$DOTFILES/local/bin:$HOME/.local/go/bin:$XDG_DATA_HOM
|
|||||||
|
|
||||||
x-load-configs
|
x-load-configs
|
||||||
|
|
||||||
|
x-have antidot && {
|
||||||
|
eval "$(antidot init)"
|
||||||
|
}
|
||||||
|
|
||||||
export COMPLETION_WAITING_DOTS=true
|
export COMPLETION_WAITING_DOTS=true
|
||||||
|
|
||||||
if type brew &> /dev/null; then
|
if type brew &> /dev/null; then
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ tap "anchore/grype"
|
|||||||
tap "cormacrelf/tap"
|
tap "cormacrelf/tap"
|
||||||
tap "ddosify/tap"
|
tap "ddosify/tap"
|
||||||
tap "dm3ch/tap"
|
tap "dm3ch/tap"
|
||||||
|
tap "doron-cohen/tap"
|
||||||
tap "gesquive/tap"
|
tap "gesquive/tap"
|
||||||
tap "github/gh"
|
tap "github/gh"
|
||||||
tap "homebrew/autoupdate"
|
tap "homebrew/autoupdate"
|
||||||
@@ -248,6 +249,8 @@ brew "xdg-ninja", args: ["HEAD"]
|
|||||||
brew "yarn"
|
brew "yarn"
|
||||||
# Watcher for macOS 10.14+ light/dark mode changes
|
# Watcher for macOS 10.14+ light/dark mode changes
|
||||||
brew "cormacrelf/tap/dark-notify"
|
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
|
# lets you quickly switch between multiple git user profiles
|
||||||
brew "gesquive/tap/git-user"
|
brew "gesquive/tap/git-user"
|
||||||
brew "keith/formulae/reminders-cli"
|
brew "keith/formulae/reminders-cli"
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ packages=(
|
|||||||
github.com/rhysd/actionlint/cmd/actionlint@latest
|
github.com/rhysd/actionlint/cmd/actionlint@latest
|
||||||
# simple terminal UI for git commands
|
# simple terminal UI for git commands
|
||||||
github.com/jesseduffield/lazygit@latest
|
github.com/jesseduffield/lazygit@latest
|
||||||
|
# Cleans up your $HOME from those pesky dotfiles
|
||||||
|
github.com/doron-cohen/antidot@latest
|
||||||
)
|
)
|
||||||
|
|
||||||
for pkg in "${packages[@]}"; do
|
for pkg in "${packages[@]}"; do
|
||||||
@@ -49,6 +51,11 @@ x-have git-profile && {
|
|||||||
&& msg_ok "Installed completions for git-profile"
|
&& msg_ok "Installed completions for git-profile"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
x-have antidot && {
|
||||||
|
antidot update \
|
||||||
|
&& msg_ok "Updated antidot database"
|
||||||
|
}
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
msg_run "Clearing go cache"
|
msg_run "Clearing go cache"
|
||||||
|
|||||||
Reference in New Issue
Block a user