yuk1ty's dotfiles.
- 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
- Or using other OS, visit this site for more details: https://www.chezmoi.io/install/
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
First chezmoi init
.
chezmoi init git@github.com:yuk1ty/dotfiles.git
Apply my settings.
chezmoi apply
I'm using Brewfile
to manage what apps will be installed. Run the following command:
brew bundle
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.