Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 2.55 KB

File metadata and controls

87 lines (64 loc) · 2.55 KB

nabinno's dotfiles

Personal dotfiles repository for Unix-like systems with modular configurations for Zsh and Emacs development environments.

[1]

Features

  • Modular Emacs Configuration: 100+ feature-specific modules using modern leaf package manager
  • Intelligent Zsh Functions: Autoloaded functions with Go utilities for complex shell operations
  • Cross-Platform Support: OS detection and platform-specific initialization
  • Development Tools Integration: LSP, Git workflows, language-specific configurations
  • Claude Code Integration: AI-assisted development with Emacs integration

Quick Start

Prerequisites

  1. Install Zsh
  2. Connect to GitHub with SSH

Installation

sh -c "$(curl -fsSL https://raw.github.com/nabinno/dotfiles/master/install.sh)"

Setup

Zsh Environment:

exec zsh -l

Emacs Environment:

emacs --debug-init -nw

Architecture

Configuration Structure

  • Root Level: Core dotfiles (.zshrc, .gitconfig, .screenrc, etc.)
  • .emacs.d/: Modular Emacs configuration with init system
  • .zsh.d/function/: Zsh autoload functions with Go-based utilities

Key Components

  • Emacs: Uses leaf package manager with 100+ feature modules
  • Zsh Functions: Autoloaded via FPATH with platform detection
  • Go Utilities: Complex shell operations in .zsh.d/function/
  • Installation: Clones to ~/.local/dotfiles and copies files to $HOME

Environment Variables

  • DOTFILES_PATH: Automatically set (via ghq or ~/.local/dotfiles)
  • FPATH: Extended for custom function autoloading

Development

Testing Configuration

# Test Emacs configuration
emacs --debug-init

# Test Zsh functions
exec zsh -l

# Test Go utilities
cd .zsh.d/function && go run .

Adding New Configurations

  1. Emacs: Add init-feature.el to .emacs.d/lisp/
  2. Zsh: Add function to .zsh.d/function/ and call via require in .zshrc
  3. Go: Extend utilities in .zsh.d/function/ directory

License

MIT

Epilogue

A whale!
Down it goes, and more, and more
Up goes its tail!

-Buson Yosa

[1] "A selection of mallets, bores and files" (1700-1799, Robert Benard after Jacques-Raymond Lucotte) credited in Wellcome Collection is licensed by CC 4.0 BY