This repository contains my personal configuration files (dotfiles) for various tools and environments. It's designed to help quickly set up a consistent development environment across different machines.
This repository includes configurations for:
- Shell: ZSH with Powerlevel10k theme
- Terminal: Alacritty terminal emulator
- Git: Global Git configurations and utilities
- Fonts: Programming and special-purpose fonts
- OS-specific setups:
- Windows setup scripts and PowerShell configuration
- Linux setup scripts (primarily for Arch Linux)
.
├── .devcontainer/ # Development container configuration
├── .docs/ # Documentation and resume templates
├── .vscode/ # VS Code settings
├── .zsh/ # ZSH configuration files
│ ├── .p10k.zsh # Powerlevel10k theme configuration
│ └── .zshrc # ZSH runtime configuration
├── fonts/ # Typography for development and documents
├── git/ # Git configuration and helper scripts
├── linux/ # Linux-specific configurations
│ ├── grub/ # GRUB bootloader settings
│ └── setup/ # Linux setup scripts
└── windows/ # Windows-specific configurations
├── powershell/ # PowerShell profiles and scripts
├── setup/ # Windows setup scripts
└── utility/ # Windows utility scripts
-
Install ZSH and Oh My ZSH:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
Install Powerlevel10k theme:
-
On Arch Linux:
yay -S zsh-theme-powerlevel10k-git echo 'source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
-
On other systems:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
-
-
Install recommended plugins:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
Copy the
.zsh/.zshrc
and.zsh/.p10k.zsh
files to your home directory
-
Install PowerShell 7 and Oh My Posh:
winget install JanDeDobbeleer.OhMyPosh -s winget
-
Create PowerShell profile:
New-Item -Path $PROFILE -Type File -Force notepad $PROFILE
-
Add Oh My Posh initialization to your profile:
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/pure.omp.json" | Invoke-Expression
-
If you encounter execution policy errors:
Set-ExecutionPolicy RemoteSigned
The linux/setup/setup-arch.sh
script provides a comprehensive setup for Arch Linux, including:
- Git configuration
- Font installation
- Alacritty terminal setup
- ZSH and Oh My ZSH installation with plugins
The repository includes helpful Git utilities:
git/config.ps1
andgit/config.sh
: Scripts for basic Git configurationgit/filter-repo.ps1
andgit/filter-repo.sh
: Scripts to help with Git repository filtering
The fonts
directory contains various typography resources:
- Programming fonts optimized for code readability
- Special-purpose fonts for documentation and presentations
A .devcontainer
setup is included for consistent development environments that automatically:
- Installs Node.js (if needed)
- Sets up shell formatting tools
- Configures ZSH with plugins
This project is licensed under the terms specified in the LICENSE file.