Skip to content
/ dotfiles Public template

🏡 Dotfiles for my Mac & Linux machines.

License

Notifications You must be signed in to change notification settings

aarsxx/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Presets that make anywhere feel like $HOME

Getting Started

Install Oh My Zsh

Install Zsh and Oh My Zsh.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# Inspect the install script
git clone https://github.com/ohmyzsh/ohmyzsh.git
vim ./tools/install.sh

# Change the default shell to /bin/zsh
sudo chsh -s /bin/zsh "$USER"

Generate SSH Key

Use ssh-keygen to generate a new SSH key.

# Set to username@hostname[.home|local]
read KEY_COMMENT

ssh-keygen -o -a 256 -t ed25519 -C "$KEY_COMMENT"

Add SSH Key to GitHub

You must add the new SSH key to GitHub in order to clone this repository and private repositories. Visit https://github.com/settings/keys or use the GitHub CLI to add the key.

# Don't add your SSH key yet!
gh auth login -s write:public_key -s codespace

gh ssh-key add ~/.ssh/id_ed25519.pub --title "$KEY_COMMENT"

Install (these) Dotfiles

Clone this repo and install my dotfiles using ./install.sh.

git clone [email protected]:andikaleonardo/dotfiles.git

cd dotfiles
./install.sh