Skip to content
tngranadosPublic

About

My personal dotfiles

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

tngranados dotfiles

These are my dotfiles and configurations.

Setup

First step is to install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"

After setting up the SSH keys, clone the repository and install the personal dependencies and tools:

git clone git@github.com:tngranados/dotfiles.git
cd dotfiles
brew trust --taps tngranados/tap toby/try xykong/tap
brew trust --formula tngranados/tap/newest-files
brew bundle --file=Brewfile

On a work machine, install the additional work dependencies after the personal bundle:

brew bundle --file=Brewfile.work

After all dependencies are installed, you can run install.sh:

./install.sh

Alternatively, you can run stow from the dotfiles directory to link the files:

stow -t $HOME -d $HOME/dotfiles/config .

Note, some of the files in this repo are encrypted with git-crypt, in order to decrypt them, run:

git-crypt unlock /path/to/key

Now, restart the shell or run source /Users/tngranados/.zshrc to reload the settings.

To setup the basic macOS configuration, first grant the Terminal full disk access (System Preferences -> Privacy -> Full Disk Access), then run:

./setup-mac.sh

How to find out defaults commands

In order to figure out the defaults commands to change settings in an app, we need to first find out its bundle identifier:

mdls -name kMDItemCFBundleIdentifier -r /Applications/AppName.app

Then, read the existing defaults with:

defaults read <bundle_identifier>

Change the settings through the UI, then run the command again and check the differences to see which values to change.

About

My personal dotfiles

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages