feat: Removed .zsh and .zshrc

This commit is contained in:
2025-10-13 10:15:50 +02:00
parent 8230492c3a
commit d09146d2c9
20 changed files with 64 additions and 313 deletions

View File

@@ -141,9 +141,9 @@ backup_configs() {
[ -d ~/.config/nvim ] && cp -r ~/.config/nvim "$BACKUP_DIR/"
[ -d ~/.config/neofetch ] && cp -r ~/.config/neofetch "$BACKUP_DIR/"
[ -d ~/.config/btop ] && cp -r ~/.config/btop "$BACKUP_DIR/"
[ -d ~/.config/htop ] && cp -r ~/.config/htop "$BACKUP_DIR/"
[ -d ~/.config/yabai ] && cp -r ~/.config/yabai "$BACKUP_DIR/"
[ -f ~/.config/starship.toml ] && cp ~/.config/starship.toml "$BACKUP_DIR/"
[ -f ~/.zshrc ] && cp ~/.zshrc "$BACKUP_DIR/"
log "Backup created: $BACKUP_DIR"
}
@@ -326,17 +326,18 @@ setup_other_configs() {
[ -d "$DOTFILES_DIR/.config/btop/themes" ] && ln -sf "$DOTFILES_DIR/.config/btop/themes" ~/.config/btop/themes
fi
# Htop (fallback wenn btop abstürzt)
if [ -d "$DOTFILES_DIR/.config/htop" ]; then
mkdir -p ~/.config/htop
ln -sf "$DOTFILES_DIR/.config/htop/htoprc" ~/.config/htop/htoprc
fi
# Yabai (macOS only)
if [ "$OS" = "macos" ] && [ -d "$DOTFILES_DIR/.config/yabai" ]; then
rm -rf ~/.config/yabai
ln -sf "$DOTFILES_DIR/.config/yabai" ~/.config/yabai
fi
# Zsh (if exists)
if [ -f "$DOTFILES_DIR/.zshrc" ]; then
ln -sf "$DOTFILES_DIR/.zshrc" ~/.zshrc
fi
log "Configurations symlinked!"
}