GithubHelp home page GithubHelp logo

jungaretti / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 254 KB

Dotfiles that make anywhere feel like $HOME

License: GNU General Public License v3.0

Shell 96.45% Vim Script 1.02% PowerShell 2.52%
dotfiles zsh

dotfiles's Introduction

Dotfiles

Dotfiles that make anywhere feel like /home.

Setting Up Shop

"Ond’ io per lo tuo me’ penso e discerno che tu mi segui, e io sarò tua guida, e trarrotti di qui per loco etterno" (Inferno I, 112-114).

Are you ready to set up a new computer for me? Fire up your favorite terminal and let's get started!

Install Homebrew

On macOS, install Homebrew.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

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|work]
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]:jungaretti/dotfiles.git

cd dotfiles
./install.sh

Install Apps and Tools

Install tools with custom installers:

Check out jungaretti/stuff to install all of my apps and tools.

Configure B2 Backups

I use restic and crestic to back up my data to Backblaze B2.

Log into Backblaze to create a new storage bucket and generate a new application key. Then, add the following lines to ~/.zshenv and paste their values from Backblaze.

# Backblaze application key
export B2_ACCOUNT_ID=KEY_ID
export B2_ACCOUNT_KEY=APPLICATION_KEY

Create a <host>.password.txt file or export RESTIC_PASSWORD to unlock the repository automatically. See src/crestic/config.cfg for more details.

Notes

dotfiles's People

Contributors

jungaretti avatar kartikm123 avatar

Watchers

 avatar  avatar

dotfiles's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.