Skip to content

kurko/dotfiles

Repository files navigation

Dotfiles

Use these files in your bash to improve it.

Important: git/gitconfig has my nickname/email for Github. Please change it.

Installation

The ./install executable will install everything needed for a new computer. It includes:

  • cloning this repo, setting up symlinks for gitconfig, tmux, bash aliases, Allacritty configurations, and more
  • installs all software via Homebrew (e.g rbenv, vim, ctags, 1password, slack, google chrome)

New Computer Checklist (./install)

  1. On MacOS: run chsh -s /bin/bash to replace ZSH with Bash.
  2. Run source /dev/stdin <<<"$( curl -sS https://raw.githubusercontent.com/kurko/.dotfiles/master/install )"

Notes:

  • the script should prompt you to generate your RSA keys the first time. If you're having trouble, setup the RSA key manually (~/.ssh/id_rsa.pub) and upload to Github.
  • the script should install 1Password but if it doesn't, download it manually.

More details

You can run the follow command and it will show up errors that you can adjust, one by one

source /dev/stdin <<<"$( curl -sS https://raw.githubusercontent.com/kurko/.dotfiles/master/install )"

If it doesn't work, you can clone the files and use it directly (which is mostly what the command above does):

git clone git@github.com:kurko/.dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install

Update from Github

You can just run the same command

source /dev/stdin <<<"$( curl -sS https://raw.githubusercontent.com/kurko/.dotfiles/master/install )"

Or you can

cd ~/.dotfiles
git pull --rebase origin master

Reloading

To reload dotfiles, run:

$ ubp

ubp will Update Bash Profile with whatever is in the .dotfiles dir.

Setup id_rsa for Github

Run:

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
cat ~/.ssh/id_rsa.pub

Then head to https://github.com/settings/keys/new.

About

Files that customize my bash.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published