My own "dotfiles", or configuration files.
Upon getting to a new machine, I repeat these steps:
-
Set up ssh, if read-write access is desired.
ssh-keygen # Or, if generating RSA keys: ssh-keygen -b 4096
-
Add the public key to GitHub, if read-write access is desired:
cat ~/.ssh/id_*.pub
-
Clone the dotfiles repository:
cd ~/ # Do I want to have push/write access to update the dotfiles? git clone [email protected]:denilsonsa/dotfiles.git # Do I want a read-only copy of the dotfiles? git clone https://github.com/denilsonsa/dotfiles.git cd ~/dotfiles ./install
-
Setup
~/.ssh/config
as desired.- Due to the sensitive nature and due to the strict permissions required on
~/.ssh/
, SSH configuration is not managed by this repository. - There is a basic template available: ssh_slash_config-template
- Due to the sensitive nature and due to the strict permissions required on
There are a few hard-coded paths in base/.gitconfig:
~/dotfiles/
, and that's why this repository should be cloned there.~/myrepos/
, which should contain clones of any other personal repository.
There is one hard-coded path in base/.zshrc:
~/dotfiles/
, and that's why this repository should be cloned there.
There are some configurations that should not be stored in dotfiles. Thus, the following files are sourced as well:
~/.bash-local
for bash.~/.zsh-local
for zsh.~/.profile-local
for both bash and zsh.~/.gitconfig-local
for git.~/.vim/vimrc-local
for vim, should be based on the example in this repository.
- Oh-my-zsh manual installation: https://github.com/ohmyzsh/ohmyzsh?tab=readme-ov-file#manual-installation