https://github.com/wolffshots/dotfiles
https://github.com/wolffshots/dotfiles
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/wolffshots/dotfiles
- Owner: wolffshots
- Created: 2022-07-15T22:03:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-28T15:27:49.000Z (9 months ago)
- Last Synced: 2024-10-16T21:32:38.607Z (8 months ago)
- Language: Lua
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dot files and general setup
```shell
cd ~/documents/
git clone [email protected]:wolffshots/dotfiles.git
ln -sf ~/documents/dotfiles/.config/nvim ~/.config
```## pre-reqs
- TODO## git
```shell
git config --global user.name jadon
git config --global user.email [email protected]
git config --global init.defaultBranch main
git config --global pull.rebase true
```## this repo
```shell
git clone --bare [email protected]:wolffshots/dotfiles.git
```
```shell
git clone --bare https://github.com/wolffshots/.dotfiles.git
```
```shell
GIT_DIR=~/.dotfiles.git git fetch origin main:main # to update repo
GIT_DIR=~/.dotfiles.git/ git --work-tree ~/ checkout main # to checkout the files to your home, use `-f` to overwrite changes
GIT_DIR=~/.dotfiles.git/ git --work-tree ~/ pull # to pull changes from then on
```## zsh
```shell
# TODO add instructions for omz and p10k
chsh -s $(which zsh)
```## asdf
```shell
git clone --depth 1 https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0` - check branch
```## golang
```shell
asdf plugin-add golang
asdf install golang latest
asdf global golang latest
asdf reshim golang` # after using `go get`
```## tmux
```shell
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
```## extra
### rasbpi
- [zram-config](https://github.com/ecdye/zram-config)
- `git clone https://github.com/ecdye/zram-config`
- `sudo ./zram-config/install.bash`