https://github.com/darthfork/dotfiles
Dotfiles
https://github.com/darthfork/dotfiles
alacritty dotfiles homebrew neovim tmux vim vscode zsh
Last synced: 11 months ago
JSON representation
Dotfiles
- Host: GitHub
- URL: https://github.com/darthfork/dotfiles
- Owner: darthfork
- License: mit
- Created: 2018-06-10T16:22:18.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-07-13T02:54:47.000Z (12 months ago)
- Last Synced: 2025-07-13T04:38:43.843Z (12 months ago)
- Topics: alacritty, dotfiles, homebrew, neovim, tmux, vim, vscode, zsh
- Language: Shell
- Homepage:
- Size: 299 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Dotfiles
Vim/NeoVim, tmux, shell config files and utility scripts for macOS and Linux.
## Installation
To install the dotfiles, utility scripts and packages run the following commands:
```bash
./install.sh
```
## Utility Scripts and Kubernetes Plugins
- [**kubectl-shell**](.local/bin/kubectl-shell)
- Description: kubectl plugin to open a shell in a pod in a Kubernetes cluster
- Usage: `kubectl shell `
- [**kubectl-dorker**](.local/bin/kubectl-dorker)
- Description: kubectl plugin to install a pod with a shell in a Kubernetes cluster for debugging cluster issues
- Usage: `kubectl dorker {up|down}`
- [**kubectl-kind**](.local/bin/kubectl-kind)
- Description: kubectl plugin to create a Kubernetes cluster using kind
- Usage: `kubectl kind`
- [**kubectl-setns**](.local/bin/kubectl-setns)
- Description: kubectl plugin to set the namespace of the current context
- Usage: `kubectl setns `
- [**dorker**](.local/bin/dorker)
- Description: Utility script to create a container with aws/helm/kubectl and other utilities for debugging
- Usage: `dorker`
- [**mfa**](.local/bin/mfa)
- Description: Utility script to generate 2FA tokens from yubikey
- Usage: `mfa `
- [**codemux**](.local/bin/codemux)
- Description: Utility script to open a tmux session with vscode specific layout and configurations
- Usage: `codemux `. This launches a vscode session named ``. To use with vscode add the following to your vscode settings.json
```json
"terminal.integrated.profiles.osx": {
"tmux": {
"path": "codemux",
"args": [
"${workspaceFolderBasename}"
],
"icon": "terminal-tmux"
}
}
```
## Enable completion for zsh
**autoload setting** (pre-requisite for enabling completion)
```zsh
autoload -U +X compinit && compinit
```
**kubectl**
```zsh
source <(kubectl completion zsh)
```
**aws**
```zsh
complete -C '$(command -v aws_completer)' aws
```
**helm**
```zsh
source <(helm completion zsh)
```
## Repo Structure
```bash
.
├── .config
│ ├── nvim
│ │ └── init.lua
│ ├── ripgrep
│ │ └── config
│ ├── tmux
│ │ ├── tmux.conf
│ │ └── vscode.conf
│ ├── utils
│ │ ├── agnoster.zsh.patch
│ │ ├── compose.yaml
│ │ └── kubernetes.yaml
│ └── yamllint
│ └── config
├── .gitconfig
├── .gitignore
├── .local
│ └── bin
│ ├── codemux
│ ├── dorker
│ ├── kubectl-dorker
│ ├── kubectl-kind
│ ├── kubectl-setns
│ ├── kubectl-shell
│ ├── mfa
│ ├── start_ssh_agent.sh
│ ├── tmux-battery-info
│ ├── tmux-spotify-info
│ └── tmux-system-info
├── .vim
│ └── vimrc
├── .zshrc
├── Brewfile
├── LICENSE
├── README.md
└── install.sh
```