Skip to content

suhlig/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Bootstrap

brew install stow
cd # the target directory needs to be directly underneath $HOME
git clone git@github.com:suhlig/dotfiles.git .dotfiles
cd  .dotfiles
stow common {linux|osx}
brew bundle --global
git clone https://github.com/TamCore/autoupdate-oh-my-zsh-plugins $ZSH_CUSTOM/plugins/autoupdate
git clone https://github.com/jeffreytse/zsh-vi-mode $ZSH_CUSTOM/plugins/zsh-vi-mode
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Once tpm was installed, press <prefix>I to install all plugins.

Supporting Software

Dotfiles should work without the following, but it's nicer if they are present:

Updating

cd ~/.dotfiles
git pull
stow --restow common osx
brew bundle --global

Switch SSH identities

Separating SSH identities, e.g. between different projects, can be done with stow, too:

  1. Put the keys into separate directories under .ssh/identities:
$ tree ~/.ssh/
/home/suhlig/.ssh/
├── authorized_keys
├── identities
│   ├── other
│   │   ├── id_rsa
│   │   └── id_rsa.pub
│   └── suhlig
│       ├── id_rsa
│       └── id_rsa.pub
└── known_hosts
  1. Switch identities by specifying the name:
$ ssh-switch suhlig

Issues

  • Bad owner or permissions on ~/.ssh/config

    git doesn't care about permissions except the x flag. chmod 700 ~/.ssh/config helps.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 68.8%
  • Python 16.1%
  • Lua 11.6%
  • Ruby 3.4%
  • AppleScript 0.1%