Skip to content

zdrazil/my-preferences

Repository files navigation

@zdrazil dotfiles

These are dotfiles that I use every day. They're managed with yadm.

Install

These commands will:

For dotfiles, if a file already exists locally and has content that differs from the one in this repository, the local file will be left unmodified, and you’ll have to review and resolve the differences.

This does not apply for the boostrap script. Please read through it to understand what it does.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install yadm
yadm config local.class work ## OR yadm config local.class home
yadm clone [email protected]:zdrazil/my-preferences.git
yadm decrypt

Setup git

Use instructions from GitHub guide and in Proper use of SSH client in Mac OS X to setup SSH keys or use the quick setup in next section.

Quick setup

ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"

Mac

Add this to ~/.ssh/config:

Host *
   UseKeychain yes
   AddKeysToAgent yes
   IdentityFile ~/.ssh/id_ed25519
pbpaste >> ~/.ssh/config
chmod 600 ~/.ssh/config
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
touch ~/.config/git/config.ssh
pbcopy < ~/.ssh/id_ed25519.pub

To ~/.config/git/config.ssh, add:

[user]
    signingKey = ""

Linux

ssh-add ~/.ssh/id_ed25519
xclip -selection clipboard < ~/.ssh/id_ed25519.pub

Windows

clip < ~/.ssh/id_ed25519.pub

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published