Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My personal development environment configuration. Optimized for full-stack TypeScript/Node.js development on macOS.


Contents

File Description
.zshrc Shell aliases, functions, and environment setup
.gitconfig Git aliases, defaults, and editor config
.ssh_config SSH config template with port forwarding for Elasticsearch and Kibana

Highlights

Shell Functions

killport <port> — Kill whatever process is holding a port hostage.

killport 3001

whatsport <port> — See what's running on a port before killing it.

whatsport 3000

mkcd <dir> — Create a directory and cd into it in one step.

mkcd my-new-project

gcm "<message>" — Stage everything and commit in one command.

gcm "fix: resolve auth token expiry"

ghopen — Open the current repo on GitHub in your browser.

ghopen

Git Aliases

git lg          # Visual branch graph (oneline, decorated)
git undo        # Undo last commit, keep changes staged
git staged      # Diff of what's staged
git contributors # Ranked list of contributors by commit count

Installation

# Clone
git clone [email protected]:koltvictor/dotfiles.git ~/dotfiles
cd ~/dotfiles

# Symlink (or copy) to home directory
ln -sf ~/dotfiles/.zshrc ~/.zshrc
ln -sf ~/dotfiles/.gitconfig ~/.gitconfig

# Reload shell
source ~/.zshrc

For SSH config, copy .ssh_config to ~/.ssh/config and update HostName with your actual server IP.


Philosophy

A development environment should be invisible — fast enough, quiet enough, and opinionated enough that you stop thinking about it and start thinking about the problem.

About

Shell, git, and editor config.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages