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 */
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
Running mise install
will install the following:
🐟 Set fish as default shell
sudo bash -c 'echo $(which fish) >> /etc/shells'
chsh -s $(which fish)
fisher update
🧬 Ensure the Helix Editor language servers are properly configured
hx --health
🚀 Prompt is generated from Starship
starship --version
pyenv virtualenv project_env
pyenv activate project_env
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
- Latest Neovim-based commit:
88371ba8ed