Skip to content

eladchen/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains my personal dotfiles and are heavily based on Addy Osmani.

Installation & Update

Setting up the shell
git clone https://github.com/eladchen/dotfiles.git && cd dotfiles && ./sync.sh

To update later on, just run the sync again.

Setting up a new Mac
Core tools
sh installers/tools.sh

The above will install / upgrade the core tools in use by the files in this repo (brew, nvm & sdkman).

Brew
sh installers/brew.sh

The above will install various tools using brew.

OS X defaults:
sh osx-defaults

Private Config

Toss it into a file called .extra which you do not commit to this repo and just keep it in your ~/

TODO:

  • Drop bash support
  • Fix auto complete for ssh, and kubectl

Misc

Reuse an SSH connection
# This file goes under ~/.ssh/config
Host *
  # Always use SSH2.
  Protocol 2

  # http://stackoverflow.com/questions/20410252/how-to-reuse-an-ssh-connection
  ControlMaster auto
  ControlPath /tmp/ssh_mux_%h_%p_%r
  ControlPersist 1800

  Compression yes
  TCPKeepAlive yes
  ServerAliveInterval 20
  ServerAliveCountMax 10

Host some-host.com
  Hostname 127.0.0.1 (Can be a DNS record as well)
  User bender
  IdentityFile /some/private/key/path
Do not record Google-Compute-Engine SSH sessions into the known_hosts file
Match exec "nslookup %h | grep 'bc.googleusercontent.com'"
   UserKnownHostsFile none

About

My dot files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 73.2%
  • Vim Script 17.8%
  • JavaScript 9.0%