27 lines
789 B
Bash
Executable File
27 lines
789 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Install dotfiles for Arch Linux
|
|
# This script copies the .zshrc file to the home directory
|
|
|
|
set -e
|
|
|
|
echo "Installing dotfiles..."
|
|
|
|
# Get the directory where this script is located
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
# Copy .zshrc to home directory
|
|
echo "Copying .zshrc to home directory..."
|
|
cp "$SCRIPT_DIR/.zshrc" ~/.zshrc
|
|
|
|
# Copy .p10k.zsh to home directory
|
|
echo "Copying .p10k.zsh to home directory..."
|
|
cp "$SCRIPT_DIR/.p10k.zsh" ~/.p10k.zsh
|
|
|
|
echo "Dotfiles installation complete!"
|
|
echo ""
|
|
echo "Next steps:"
|
|
echo "1. Restart your terminal or run 'source ~/.zshrc'"
|
|
echo "2. Powerlevel10k configuration has been copied - no need to run 'p10k configure'"
|
|
echo "3. If you haven't already, run the install-arch-dotfiles-requirements.sh script first"
|