dgokcin / dotfiles

A repository for storing my dotfiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

This repository contains my personal dotfiles and configuration scripts for setting up development environments across different contexts (personal and work).

Table of Contents

Overview

This dotfiles repository is designed to provide a modular and flexible setup for both personal and work environments. It uses a Makefile-based system to manage various configurations and tools, allowing for easy installation and customization.

Key features:

  • Modular configuration for different editors and environments
  • Separate Git configurations for personal and work setups
  • Shell configuration with Oh My Zsh and custom plugins
  • Various development tools and utilities
  • AI-assisted development tools and prompts

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/dotfiles.git
    cd dotfiles
    ```bash
    
  2. Run the appropriate make command for your setup:

    make personal  # For personal setup
    make work      # For work setup

Usage

The repository uses a Makefile to manage different aspects of the setup. Here are some common commands:

  • make help: Display all available targets
  • make personal: Set up personal environment
  • make work: Set up work environment
  • make personal-git: Configure Git for personal use
  • make work-git: Configure Git for work use
  • make zsh: Set up Zsh configuration
  • make nvim: Set up Neovim configuration
  • make vscode: Set up Visual Studio Code configuration

For a full list of available commands, run make help.

Components

Git Configuration

  • base.gitconfig: Common Git configuration
  • personal.gitconfig: Personal Git settings
  • work.gitconfig: Work-specific Git settings

Shell Configuration

  • .zshrc: Zsh configuration file
  • Oh My Zsh with custom plugins

Editors

  • Neovim configuration
  • Visual Studio Code settings

Tools

  • Lazygit
  • Yamllint
  • Continue AI
  • Karabiner (for macOS)

AI-Stuff Directory

The ai-stuff directory contains various AI-assisted development tools and prompts:

  • cursor/prompts: Custom prompts for AI-powered coding assistants
    • create-pr: Prompt for generating pull request descriptions
    • create-commit: System prompt for generating standardized Git commit messages
    • explain-project: Prompt for explaining project structure and approach
    • create-issue: Prompt for creating well-structured GitHub issues
    • create-summary: Prompt for summarizing content
    • explain-code: Prompt for explaining code snippets or configurations
    • terraform-expert: Prompt for Terraform and Terragrunt expertise
    • gha-expert: Prompt for GitHub Actions expertise
    • containerization-expert: Prompt for Docker-related queries
  • continue: Configuration for the Continue AI tool
  • fabric: Additional AI-related scripts or configurations

These AI-assisted tools and prompts are designed to enhance your development workflow by providing intelligent suggestions, explanations, and automations.

Customization

You can customize the setup by modifying the relevant configuration files:

  • Edit .zshrc for shell customizations
  • Modify Git configs in base.gitconfig, personal.gitconfig, or work.gitconfig
  • Adjust editor settings in their respective configuration files
  • Customize AI prompts in the ai-stuff/cursor/prompts directory

About

A repository for storing my dotfiles.


Languages

Language:Lua 74.2%Language:Makefile 13.5%Language:Shell 10.7%Language:Vim Script 1.5%