Remove legacy vim config remnants
This commit is contained in:
10
install.sh
10
install.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user