Skip to content

About

Dotfiles For Mac and Linux

Resources

Stars

5 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

311 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Bash dotfiles for Linux (tuned for Omarchy) and, lightly, macOS. Everything lives in bash/ and gets symlinked into $HOME.

Install on a new machine

Requires only bash and git (this is meant to be one of the first things installed):

git clone <this repo> ~/git/dotfiles
cd ~/git/dotfiles
./bootstrap.sh --dry-run   # preview what would happen
./bootstrap.sh             # link everything, backing up replaced files
./bootstrap.sh --vim       # also install Vundle + vim plugins

Then open a new terminal (or source ~/.bashrc).

Bootstrap is idempotent: re-running it only relinks what's wrong. Anything it replaces is moved to ~/dotbackup/<timestamp>/ unless --force is given. It does not install packages and does not change your login shell — on macOS, where the default shell is zsh, run chsh -s /bin/bash yourself if you want these to load automatically.

~/.gitconfig is copied, not linked, and bootstrap only creates it if missing, so your name/email (which it will prompt for if unset) never gets committed back to this repo.

Layout

  • .bash_profile — login shells: locale, then sources .bashrc if interactive
  • .bashrc — interactive shells: aliases, functions, completion, tools
  • .exports — environment and PATH (sourced by both, duplicate-safe)
  • .bash_prompt — fallback prompt with git status; replaced by starship when starship is installed
  • .aliases, .functions, .inputrc, .tmux.conf, .vimrc, etc.
  • config/starship.toml — linked to ~/.config/starship.toml; user@host:/full/path layout matching the fallback prompt

Per-machine settings that don't belong in git go in ~/.bash.local (a file, or a directory of files) or bash/.extra.

Optional tools

The shell config uses these when present and silently skips them when not: starship (prompt), mise (tool versions), fzf and atuin (fuzzy/history search), and zoxide (z directory jumping). All of them ship with Omarchy.

About

Dotfiles For Mac and Linux

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages