diff --git a/config/antigen.zsh b/local/bin/antigen.zsh similarity index 100% rename from config/antigen.zsh rename to local/bin/antigen.zsh diff --git a/local/bin/dfm b/local/bin/dfm index 5eb2c65..2103622 100755 --- a/local/bin/dfm +++ b/local/bin/dfm @@ -23,7 +23,7 @@ function section_install bash "$DOTFILES/scripts/settler.sh" && echo "🎉 Done!" ;; antigen) - curl -L git.io/antigen > "$DOTFILES/config/antigen.zsh" && echo "🎉 Done!" + curl -L git.io/antigen > "$DOTFILES/local/bin/antigen.zsh" && echo "🎉 Done!" ;; defaults) bash "$DOTFILES/scripts/set-defaults.sh" && echo "🎉 Done!" @@ -105,7 +105,7 @@ function section_dotfiles --space-redirects \ --func-next-line \ "$DOTFILES" \ - "$DOTFILES/local/bin/dotfiles" \ + "$DOTFILES/local/bin/dfm" \ "$DOTFILES/local/bin/x-check-git-attributes" \ "$DOTFILES/local/bin/x-open-ports" \ "$DOTFILES/config/alias" \ diff --git a/scripts/install.sh b/scripts/install.sh index 4775714..ee2faff 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -69,7 +69,6 @@ handle_file_ln() handle_file_ln "$HOME/.dotfiles/bash_profile" "$HOME/.bash_profile" handle_file_ln "$HOME/.dotfiles/bashrc" "$HOME/.bashrc" handle_file_ln "$HOME/.dotfiles/config/alias" "$HOME/.config/alias" -handle_file_ln "$HOME/.dotfiles/config/antigen.zsh" "$HOME/.config/antigen.zsh" handle_file_ln "$HOME/.dotfiles/config/exports" "$HOME/.config/exports" handle_file_ln "$HOME/.dotfiles/config/functions" "$HOME/.config/functions" handle_file_ln "$HOME/.dotfiles/config/gh/config.yml" "$HOME/.config/gh/config.yml" @@ -78,7 +77,8 @@ handle_file_ln "$HOME/.dotfiles/config/git/gitignore" "$HOME/.config/git/gitigno handle_file_ln "$HOME/.dotfiles/config/wtf/config.yml" "$HOME/.config/wtf/config.yml" handle_file_ln "$HOME/.dotfiles/git_profiles" "$HOME/.git_profiles" handle_file_ln "$HOME/.dotfiles/huskyrc" "$HOME/.huskyrc" -handle_file_ln "$HOME/.dotfiles/local/bin/dotfiles" "$HOME/.local/bin/dotfiles" +handle_file_ln "$HOME/.dotfiles/local/bin/antigen.zsh" "$HOME/.local/bin/antigen.zsh" +handle_file_ln "$HOME/.dotfiles/local/bin/dfm" "$HOME/.local/bin/dfm" handle_file_ln "$HOME/.dotfiles/local/bin/x-check-git-attributes" "$HOME/.local/bin/x-check-git-attributes" handle_file_ln "$HOME/.dotfiles/local/bin/x-open-ports" "$HOME/.local/bin/x-open-ports" handle_file_ln "$HOME/.dotfiles/rcrc" "$HOME/.rcrc" diff --git a/zshrc b/zshrc index 9e3bf96..151fec3 100644 --- a/zshrc +++ b/zshrc @@ -42,7 +42,7 @@ x-load-configs ssh-add -A 2>/dev/null; # Try to load antigen, if present -[[ -f "$HOME/.config/antigen.zsh" ]] && source "$HOME/.config/antigen.zsh" +[[ -f "$HOME/.local/bin/antigen.zsh" ]] && source "$HOME/.local/bin/antigen.zsh" # antigen is present if command -v antigen &> /dev/null; then