Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/djpowers/dotfiles

My dotfiles. Mostly for me, but borrow whatever you'd like!
https://github.com/djpowers/dotfiles

dotfiles

Last synced: 3 months ago
JSON representation

My dotfiles. Mostly for me, but borrow whatever you'd like!

Awesome Lists containing this project

README

        

# djpowers' dotfiles

## Setup instructions

### 👯 Clone repo and navigate to directory

```shell
git clone https://github.com/djpowers/dotfiles
cd ~/dotfiles
```

### 🍺 Install [Homebrew](https://brew.sh/) and run the `bundle` command to install packages

```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle
```

### 🐐 Create the package symlinks via [GNU Stow](https://www.gnu.org/software/stow/)

```
stow --verbose */
```

### 🖥️ Import iTerm2 key bindings
iTerm2 > Settings > Keys > Key Bindings > Presets... > Import... (Keep existing mappings)
```shell
~/dotfiles/iterm/key_bindings
```
- allows scrolling one page up and down with j and k, respectively

### 🔰 Install [Node.js](https://nodejs.org/en/)

```shell
nvm install --lts
```

### 🐟 Set [fish](https://fishshell.com/) as default shell

```shell
sudo bash -c 'echo $(which fish) >> /etc/shells'
chsh -s $(which fish)
```

### 🎣 Install Fisher plugins

```shell
fisher update
```
## Other notes

### 🧬 Ensure the [Helix Editor](https://helix-editor.com/) language servers are properly configured

```shell
hx --health
```

### 🚀 Prompt is generated from [Starship](https://starship.rs/)

```shell
starship --version
```

### 💎 Install latest [Ruby](https://www.ruby-lang.org/en/) as needed

```shell
rbenv install $(rbenv install -l | grep -v - | tail -1)
```

### 🐍 Install latest [Python](https://www.python.org/) as needed

```shell
pyenv install $(string trim $(pyenv install -l | grep -v - | grep -v a | tail -1))
```
#### Create and Activate Virtual Environment

```shel
pyenv virtualenv project_env
pyenv activate project_env
```

### 🤖 Configure artificial intelligence tooling

Configure AI tools as needed.

#### 🦙 Add [Olamma models](https://ollama.ai/library)

```shell
ollama pull llama2
ollama pull codellama
```

#### 💬 Configure [AIChat](https://github.com/sigoden/aichat#config)

```shell
aichat # will guide through configuration on first launch
```

```yaml
model: ollama
clients:
- type: ollama
api_base: http://localhost:11434
api_key: null
models:
- name: codellama
max_tokens: null
```

## Previous Versions

- Latest Neovim-based commit: [`88371ba8ed`](https://github.com/djpowers/dotfiles/tree/88371ba8ed6f9671d5dc1a8d243032b0a41916c3)