add changes made in work workstation
This commit is contained in:
35
README.md
35
README.md
@@ -33,10 +33,10 @@ dotfiles/
|
||||
|
||||
- **Terminal**: [Alacritty](https://github.com/alacritty/alacritty)
|
||||
- **Shell**: [ZSH](https://www.zsh.org/)
|
||||
- [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
|
||||
- [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
|
||||
- [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
|
||||
- [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
|
||||
(submodule)
|
||||
- [zsh-completions](https://github.com/zsh-users/zsh-completions)
|
||||
- [zsh-completions](https://github.com/zsh-users/zsh-completions)
|
||||
(submodule)
|
||||
- **Package Manager**: [Homebrew/Linuxbrew](https://brew.sh/)
|
||||
- **Dotfile Management**: [GNU Stow](https://www.gnu.org/software/stow/)
|
||||
@@ -50,8 +50,12 @@ dotfiles/
|
||||
[tmux-plugin-manager](https://github.com/tmux-plugins/tpm)
|
||||
- [Terraform](https://www.terraform.io/)
|
||||
- python3-libtmux
|
||||
- Installed via `apt` in Debian. Remember to run `brew unlink python3` to
|
||||
- Installed via `apt` in Debian. Remember to run `brew unlink python3` to
|
||||
prevent conflicting Python environments.
|
||||
- [Cursor](https://www.cursor.com/) CLI (`agent` binary at `~/.local/bin/agent`)
|
||||
- Required by [avante.nvim](https://github.com/yetone/avante.nvim) for
|
||||
AI-assisted coding via ACP (Agent Communication Protocol)
|
||||
- Run `agent login` once to authenticate
|
||||
- reattach-to-user-namespace (macOS only)
|
||||
|
||||
### Language Servers & Linters
|
||||
@@ -79,13 +83,22 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
rustup component add rust-analyzer
|
||||
```
|
||||
|
||||
2. **Install Homebrew**
|
||||
1. **Install Homebrew**
|
||||
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
```
|
||||
|
||||
3. **Install tmux-plugin-manager**
|
||||
1. **Install Cursor agent binary**
|
||||
|
||||
Install the [Cursor](https://www.cursor.com/) `agent` binary to
|
||||
`~/.local/bin/agent` (used by avante.nvim for ACP). Then authenticate:
|
||||
|
||||
```bash
|
||||
~/.local/bin/agent login
|
||||
```
|
||||
|
||||
1. **Install tmux-plugin-manager**
|
||||
|
||||
```bash
|
||||
mkdir -p ~/.tmux/plugins
|
||||
@@ -104,7 +117,7 @@ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashi
|
||||
sudo apt update && sudo apt install terraform
|
||||
```
|
||||
|
||||
2. **Install Dependencies**
|
||||
1. **Install Dependencies**
|
||||
|
||||
```bash
|
||||
# System packages
|
||||
@@ -142,24 +155,24 @@ git clone --recurse-submodules https://github.com/yourusername/dotfiles.git ~/do
|
||||
cd ~/dotfiles
|
||||
```
|
||||
|
||||
2. **Deploy configurations using Stow**:
|
||||
1. **Deploy configurations using Stow**:
|
||||
|
||||
```bash
|
||||
stow zsh tmux git nvim curl alacritty wallpaper
|
||||
```
|
||||
|
||||
3. Change the default shell
|
||||
1. Change the default shell
|
||||
|
||||
```bash
|
||||
chsh -s /bin/zsh
|
||||
```
|
||||
|
||||
4. **Set up tmux plugins**:
|
||||
1. **Set up tmux plugins**:
|
||||
|
||||
- Start a tmux session
|
||||
- Press `C-b I` to install plugins
|
||||
|
||||
5. **Git configuration**:
|
||||
2. **Git configuration**:
|
||||
- Create a `~/.gitconfig.local` file with personal config
|
||||
- See `~/.gitconfig.local.example` for reference
|
||||
|
||||
|
||||
Reference in New Issue
Block a user