Skip to content

Commit

Permalink
update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed Apr 26, 2023
1 parent 84d1c31 commit d2d2e98
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .zshrc.shared
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
function vf() {
vim $(fzf)
}

eval $(ssh-agent -s)
38 changes: 30 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,39 @@

### Setup

* install zsh git tmux neovim curl
* install zsh git tmux neovim curl fzf
* `sudo chsh -s /bin/zsh $USER`
* set git repo [Archwiki](https://wiki.archlinux.org/index.php/Dotfiles)
* * add remote
* * checkout master
* * git submodule init
* * git submodule update
* setup ssh
* * setup ssh-agent
`ssh-add .ssh/id_rsa`
* [set git repo](#dot)
* [install nvim plugins](#vim-plug)
* [install tmux plugins](#tpm)

### dot

inspo: [Archwiki](https://wiki.archlinux.org/index.php/Dotfiles)

```
mkdir git
cd git
git clone --bare [email protected]:kellyjosephprice/dotfiles.git dotfiles
alias dot='/usr/bin/git --git-dir=$HOME/dit/dotfiles/ --work-tree=$HOME'
cd
dot restore --staged .
dot restore .
```

### vim-plug

```
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
```

### tpm

```
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
tmux source ~/.tmux.conf
ctrl+a I
```

0 comments on commit d2d2e98

Please sign in to comment.