Skip to content

djpowers/dotfiles

Repository files navigation

djpowers' dotfiles

Setup instructions

👯 Clone repo and navigate to directory

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

🍺 Install Homebrew and run the bundle command to install packages

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

🐐 Create the package symlinks via GNU Stow

stow --verbose */

💼 Work (optional)

Configure git config to use different name/email.

Edit this configuration in ~/.gitconfig-work:

[user]
  name = WORK_NAME
  email = WORK_EMAIL

Ensure relevant repositories are stored under ~/work/.

Enable git hooks to enforce conventional commits:

cp ~/.githooks/commit-msg.sample ~/.githooks/commit-msg
chmod +x .githooks/commit-msg # make executable

🛠️ Install tools

Running mise install will install the following:

🐟 Set fish as default shell

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

🎣 Install Fisher plugins

fisher update

Other notes

🧬 Ensure the Helix Editor language servers are properly configured

hx --health

🚀 Prompt is generated from Starship

starship --version

Create and Activate Virtual Environment

pyenv virtualenv project_env
pyenv activate project_env

🤖 Configure artificial intelligence tooling

Configure AI tools as needed.

🦙 Add Olamma models

ollama pull llama2
ollama pull codellama

💬 Configure AIChat

aichat # will guide through configuration on first launch
aichat --info | grep config_file # find existing config
model: ollama:codellama:latest
clients:
- type: openai-compatible
  name: ollama
  api_base: http://localhost:11434/v1
  models:
  - name: codellama:latest

🍐 Configure Aider

aider # enter OpenRouter API key; will store in ~/.aider/oauth-keys.env
aider --list-models free # list models containing "free"

# TODO: remove this line once no longer necessary (Aider-AI/aider#216)
cp aider/.config/config.yaml ~/.aider.conf.yml

Previous Versions

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published