A place for me to store all my silly linux/unix configuration files.
-
Clone this repository:
git clone git@github.com:Djspaceg/blakecode-linux-configs.git cd blakecode-linux-configs -
Run the installation script:
./install.sh
-
Follow the prompts to:
- Set a hostname for this machine (e.g., "CandyKingdom", "JungleFort")
- Backup and merge any existing config files
- Create symlinks to your home directory
-
Restart your shell or source the new config:
source ~/.zshrc # or ~/.bashrc
- Prompts for a custom hostname (stored in
~/.bc-hostname) - Creates
machine-configs/$HOSTNAME/for machine-specific configs - Backs up existing config files to
~/.config-backup-TIMESTAMP/ - Migrates existing configs to your machine-specific folder
- Creates symlinks from
~/.profileconfigto your home directory
After installation, customize your machine by editing files in:
machine-configs/$HOSTNAME/
These files override the base configuration for this specific machine.
See STRUCTURE.md for detailed documentation on:
- File execution order for bash and zsh
- What belongs in each file (zshenv vs zshrc vs zprofile)
- Machine-specific configuration
- PATH construction
- History file management
The old ./configure script is still available but doesn't handle hostname setup or config migration. Use ./install.sh instead.