Presets that make anywhere feel like $HOME
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"
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"
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"
Clone this repo and install my dotfiles using ./install.sh
.
git clone git@github.com:andikaleonardo/dotfiles.git
cd dotfiles
./install.sh