Skip to content

Dotfile configurations for various programs used by KobraKommander9

Notifications You must be signed in to change notification settings

KobraKommander9/dot-files

Repository files navigation

Kobra's dot-files

Kitty + Fish + Nvim. Setup configured with speed in mind. This is a work in progress and so configurations are volatile.


This repository contains configuration for zsh, and can integrate with any shell, in theory. Spaceship is used for zsh configurations and starship is used for fish configurations.

Mac Setup:

  • Install kitty: curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
  • Install the font bundled with this config
    • You just need to open the file for the system to install it
  • Install grc: brew install grc
  • Install zoxide: brew install zoxide
  • Install fish: brew install fish
    • You should also add fish to /etc/shells: echo /usr/local/bin/fish | sudo tee -a /etc/shells
    • Then make fish the default shell: chsh -s /usr/local/bin/fish
  • Install java
  • Install zellij: brew install zellij
  • Install fd: brew install fd
  • Install ms-jpq/sad/sad: brew install ms-jpq/sad/sad
  • Install exa: brew install exa
  • Install node using nvm
  • Install yarn
    npm i -g yarn
    yarn global add neovim
    
  • Install pynvim: pip3 install pynvim
  • Install ruby
    brew install rbenv
    brew install libyaml
    rbenv install 3.2.1 && rbenv global 3.2.1
    gem install neovim
    
  • Install BurntSushi/ripgrep: brew install ripgrep
  • Install go: brew install go
  • Install cargo via rustup: curl https://sh.rustup.rs -sSf | sh
  • Install bat: brew install bat
  • Install glow: brew install glow
  • Install wget: brew install wget
  • Install tsc: npm install -g typescript
  • Install revive
  • Install wollemi
  • Install grpcui
  • Install neovim: brew install neovim

To install any of these configurations, you will need to have installed GNU stow which can be installed with homebrew on a mac: brew install stow. Once stow has been installed, it can symlink the configuration files

stow -v -R -t ~ nvim
stow -v -R -t ~ kitty
stow -v -R -t ~ fish
stow -v -R -t ~ git
stow -v -R -t ~ zellij
// etc.

Secret Configuration Files

This repository uses .gitignore to exclude sensitive configuration files. Here are the files you need to create and their example contents:

1. Git User Configuration (git/gituser)

[user]
    name = Your Name
    email = your.email@example.com

2. Fish Shell Secrets (fish/.config/fish/conf.d/secrets.fish)

# API Keys
set -gx OPENAI_API_KEY "your-openai-api-key"
set -gx GITHUB_TOKEN "your-github-token"
set -gx DOCKERHUB_TOKEN "your-dockerhub-token"

# Development Environment Variables
set -gx AWS_ACCESS_KEY_ID "your-aws-access-key"
set -gx AWS_SECRET_ACCESS_KEY "your-aws-secret-key"
set -gx DATABASE_URL "postgres://user:password@localhost:5432/dbname"

# SSH Agent Configuration
set -gx SSH_AUTH_SOCK "$HOME/.ssh/agent.sock"

3. Zsh Secret Configs (zsh/**/*secret*.zsh)

# API Keys
export OPENAI_API_KEY="your-openai-api-key"
export GITHUB_TOKEN="your-github-token"

# Development Environment Variables
export AWS_ACCESS_KEY_ID="your-aws-access-key"
export AWS_SECRET_ACCESS_KEY="your-aws-secret-key"
export DATABASE_URL="postgres://user:password@localhost:5432/dbname"

# SSH Agent Configuration
export SSH_AUTH_SOCK="$HOME/.ssh/agent.sock"

Extra Setup

You can also turn off COLEMAK keymaps in mapping.lua with COLEMAK = false.

If something doesn't work right, first try running :checkhealth and resolving any warnings or errors found.

Special Thanks

https://github.com/bheadwhite for suggesting so many of the plugins and tools I have integrated into my daily workflow.

About

Dotfile configurations for various programs used by KobraKommander9

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published