Skip to content

trevorbernard/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

119 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

My various configuration files managed with GNU Stow.

Usage

Most packages are installed by stowing into $HOME (their internal structure already includes the leading dot, e.g. tmux/.tmux.conf):

stow -t $HOME <directory>

For example, to install tmux configuration:

stow -t $HOME tmux

Packages whose files live outside $HOME (under ~~/.config~, ~~/bin~, ~~/.claude~) use a different stow target — see the per-section notes below.

To install everything at once:

for pkg in git lein tmux zsh; do stow -t $HOME $pkg; done
stow -t $HOME/bin bin
stow -t $HOME/.claude claude
stow -t $HOME/.config ghostty starship

Configurations

bin

Personal shell scripts (better-branch, eat-trailing-whitespace, osc52-copy). Stowed directly to $HOME/bin:

stow -t $HOME/bin bin

The macOS branch of the zsh config adds $HOME/bin to PATH (the linux branch already does).

Claude

Claude Code settings (CLAUDE.md and settings.local.json). Stowed to $HOME/.claude:

stow -t $HOME/.claude claude

Ghostty

Configuration for the Ghostty terminal emulator with platform-specific splits (config, config_macos, config_linux). Stowed to $HOME/.config (creates $HOME/.config/ghostty/):

stow -t $HOME/.config ghostty

Git

Git configuration and aliases.

Machine-specific email

The git config uses an include directive to load machine-specific settings from ~~/.gitconfig.local~. After stowing, set up your email:

cp ~/.gitconfig.local.example ~/.gitconfig.local
# Edit ~/.gitconfig.local to set your email

Lein

Leiningen configuration for Clojure development with CIDER integration and useful aliases.

Podman

Container registry policy (containers/policy.json). Intended for $HOME/.config/containers/policy.json; not currently installed:

stow -t $HOME/.config podman

Starship

Starship prompt configuration. Stowed to $HOME/.config (creates $HOME/.config/starship.toml):

stow -t $HOME/.config starship

TMUX

Mac specific configuration

The following packages should be installed to get optimal TMUX experience on MacOS.

brew install reattach-to-user-namespace
brew install pam-reattach

ZSH

Configuration for ZSH shell with Starship prompt.

About

Various dot files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors