Skip to content

titonobre/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Repository Structure

.
├── <package>
│   ├── .config
│   │   └── <application specific directory>
│   │       └── [files to place in the config directory]
│   └── [files to place in the home directory]
└── setup

Install

./setup

Adopt Existing Configs

# make new stow module
mkdir <new-package>
# add files matching the actual location
touch <new-package>/.config/<application specific directory>/somefile
# adopt files
stow --adopt <new-package>

Additional Configuration

Put extra shell configuration files in ~/.config/shell/env.d/ and ~/.config/shell/shell.d/.

Files in env.d are sourced in .zshenv and files in shell.d are sourced in .zshrc.

Leaks

To prevent secrets from being leaked, use gitleaks in a pre-push hook.

echo -e 'gitleaks git' > .git/hooks/pre-push && chmod +x .git/hooks/pre-push

Homebrew

Install Bundle

brew bundle install

Update Bundle

brew bundle dump --force --describe --no-vscode --no-upgrade

Homebrew on Monterey

Freeze Homebrew and Homebrew Core

brew tap homebrew/core
git -C $(brew --repository)/Library/Taps/homebrew/homebrew-core/ checkout -b macOS-monterey-freeze da66cc3

git -C $(brew --repository) checkout -b macOS-monterey-freeze 9042eb9

About

Just my dotfiles.

Topics

Resources

Stars

Watchers

Forks