Skip to content

yuk1ty/dotfiles

Repository files navigation

dotfiles

yuk1ty's dotfiles.

Prerequisites

  • Using chezmoi. Please install it in advance.
  • If you're using macOS, hit the following command.
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply yuk1ty

Set up GitHub access

Firstly, generate a new SSH key (Guide):

ssh-keygen -t ed25519 -f ~/.ssh/<filename>

Next, I should register the key to GitHub and my machine (Guide):

Copy the pub key for pasting GitHub page:

pbcopy < ~/.ssh/<filename>.pub

And add the key to my machine

ssh-add ~/.ssh/<filename>
ssh-add -l
<show the list>

Finally, check if it works:

ssh -T git@github.com

Spinning up my environment

First chezmoi init.

chezmoi init git@github.com:yuk1ty/dotfiles.git

Apply my settings.

chezmoi apply

Install apps via homebrew

I'm using Brewfile to manage what apps will be installed. Run the following command:

brew bundle

Install tpm and tmux theme

In this repository, I use tpm to set up the colour and visual theme of tmux. Reloading .tmux.conf automatically every time you run chezmoi apply with some changes, but sometimes it doesn't update the configuration correctly.

You might find an error with signal 9 when you source .tmux.conf. In this case, you need to rerun tmux server with (tmux) kill-server and press <prefix> + I command. <prefix> is Ctrl + t in this repo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published