Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/djpowers/dotfiles
- Owner: djpowers
- License: mit
- Created: 2014-05-31T23:30:52.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T00:48:11.000Z (7 months ago)
- Last Synced: 2024-06-23T04:39:35.884Z (7 months ago)
- Topics: dotfiles
- Language: Ruby
- Homepage:
- Size: 255 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)