Remove legacy vim config remnants

This commit is contained in:
2026-04-03 19:32:33 +02:00
parent 9eabb18f54
commit 49c88135f9
4 changed files with 0 additions and 50 deletions

View File

@@ -83,7 +83,6 @@ setup_color() {
apply_dotfiles() {
echo "${BLUE}Applying dotfiles...${RESET}"
remove_legacy_dotfile "$HOME/.vimrc"
link_dotfile "$DOTFILES_DIR/.zshrc" "$HOME/.zshrc"
link_dotfile "$DOTFILES_DIR/.zprofile" "$HOME/.zprofile"
link_dotfile "$DOTFILES_DIR/.gitconfig" "$HOME/.gitconfig"
@@ -121,15 +120,6 @@ validate_prerequisites() {
fi
}
remove_legacy_dotfile() {
target_path=$1
if [ -L "$target_path" ] || [ -e "$target_path" ]; then
echo "${YELLOW}Removing legacy $target_path${RESET}"
rm -rf "$target_path"
fi
}
replace_dir() {
source_path=$1
target_path=$2