Support step-by-step installation instructions
I documented my consumption of wpcarro/dotfiles in the README. The dream is to just clone this repo and run `make install`. We'll get there. TODO: drop support for OSX TODO: clean up the rest of this README
This commit is contained in:
parent
e59898f00f
commit
f2f8b0d10f
2 changed files with 52 additions and 2 deletions
48
README.md
48
README.md
|
@ -7,6 +7,54 @@ other items.
|
|||
Configuration is everything.
|
||||
|
||||
|
||||
# Setting up new computer
|
||||
|
||||
1. Authorize computer to access dotfiles
|
||||
|
||||
```bash
|
||||
$ ssh-keygen -b 4096 -c 'wpcarro@gmail.com'
|
||||
$ eval $(ssh-agent -option)
|
||||
$ xclip -sel clip <~/.ssh/id_rsa.pub
|
||||
$ browse github.com # paste ssh public key in settings
|
||||
$ mkdir ~/programming
|
||||
$ git clone git@github.com:wpcarro/dotfiles ~/programming
|
||||
```
|
||||
|
||||
2. Install Antigen, Vundle, nix-env for package management
|
||||
|
||||
```bash
|
||||
$ # antigen
|
||||
$ curl -L git.io/antigen >~/antigen.zsh
|
||||
$ # vundle
|
||||
$ g clone VundleVim/Vundle.vim.git ~/.config/nvim/bundle/Vundle.vim
|
||||
$ # nix-env
|
||||
$ curl https://nixos.org/nix/install | sh
|
||||
$ for p in $(cat nix-env.txt); do
|
||||
> nix-env -i "$p"
|
||||
> done
|
||||
```
|
||||
|
||||
3. Install i3
|
||||
|
||||
```bash
|
||||
$ sudo apt-get install i3
|
||||
```
|
||||
|
||||
4. Install dotfiles
|
||||
|
||||
TODO: include steps 2-4 in the `make install` command.
|
||||
|
||||
```bash
|
||||
$ cd ~/programming/dotfiles
|
||||
$ DOTFILES="$(pwd)" make install
|
||||
```
|
||||
|
||||
|
||||
# TODOS
|
||||
|
||||
- support dependencies like fonts, terminal themes
|
||||
|
||||
|
||||
# SSHFS
|
||||
|
||||
SSHFS enables seamless file transfers from your local machine to a remote
|
||||
|
|
|
@ -22,7 +22,7 @@ antigen apply
|
|||
# Personal Configuration
|
||||
|
||||
# Set environment variables for Nix
|
||||
source /usr/local/google/home/wpcarro/.nix-profile/etc/profile.d/nix.sh
|
||||
source ~/.nix-profile/etc/profile.d/nix.sh
|
||||
|
||||
# Configure fzf
|
||||
source "$(fzf-share)/key-bindings.zsh"
|
||||
|
@ -31,7 +31,9 @@ source "$(fzf-share)/key-bindings.zsh"
|
|||
eval "$(fasd --init auto)"
|
||||
|
||||
# Configure g4 with zsh
|
||||
if [ -f /etc/bash_completion.d/g4d ]; then
|
||||
source /etc/bash_completion.d/g4d
|
||||
fi
|
||||
# the above line slows tab-completion down dramatically because it attemtps to
|
||||
# autocomplete for the 600k+ users found in `compgen -u`. Below is a fix which
|
||||
# also restores the function of `cd ~<tab>` to display only ZSH Named
|
||||
|
|
Loading…
Reference in a new issue