Skip to content

semiherdogan/dotfiles

Repository files navigation

dotfiles

Shell bootstrap, aliases, git config, and a few helper scripts.

Setup

Clone the repo anywhere, then source bootstrap.sh from your shell startup file:

source /absolute/path/to/dotfiles/bootstrap.sh

Set up Git with the helper script:

/absolute/path/to/dotfiles/bin/setup-git

That writes:

[include]
    path = /absolute/path/to/dotfiles/gitconfig

If you already maintain ~/.gitconfig, keep your extra sections there and only include the shared file from this repo. See gitconfig.home.example for the shape.

Layout

  • bootstrap.sh: entrypoint, resolves the repo path dynamically.
  • aliases/: tracked shell aliases and functions.
  • scripts/: small project helpers.
  • work.sh: optional untracked work-specific commands.
  • local.sh: optional untracked machine-specific commands.
  • bin/setup-git: configures Git include and global ignore paths for the current repo location.

Use the example files as a starting point:

cp /absolute/path/to/dotfiles/work.example.sh /absolute/path/to/dotfiles/work.sh
cp /absolute/path/to/dotfiles/local.example.sh /absolute/path/to/dotfiles/local.sh

Validation

Run:

/absolute/path/to/dotfiles/bin/check

Common Dependencies

Apps

Daily apps and tools are listed in APPS.md.

About

My personal dotfiles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors