toddbernhard / dotfiles

linux tools: setup + configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripted setup of some tools.


Clean system? Start here

Install git, then run

# Create GitHub SSH key. See bin/ssh-keygen-rsa
ssh-keygen -t ed25519 -q -N "" -f ~/.ssh/github.id_ed25519

# Add github alias to ssh/config
cat << EOF >> ~/.ssh/config
Host github
  HostName github.com
  IdentityFile ~/.ssh/github.id_ed25519
EOF
chmod 600 ~/.ssh/config

# Show the public key
cat ~/.ssh/github.id_ed25519.pub

Add your SSH key to your Github account. Then

git clone git@github:toddbernhard/dotfiles.git

Installation

setup.py does the magic.

    bin         symlinks scripts into ~/bin
    firefox     installs extensions, user.js settings, and userChrome styles
    fonts       installs Droid Sans [+Bold,+Mono] on OSX only
    git         symlinks ~/.gitconfig, ~/.gitignore_global, sets up local user info
    macos       prompts to install common apps, brew apps, and OS defaults
    tmux        symlinks ~/.tmux.conf
    vim         makes .vim directories, symlinks ~/.vimrc, installs Vundle
    zsh         sources all.zsh - prompt, aliases, keys, more

Additional manual setup

keymap
  • set to dvorak
  • bind capslock to escape
Colors
ssh client
  • setup client keys (often github, home, office)
  • add common destinations to ~/.ssh/config (see Arch wiki)
  • upload key to github
sshd server
  • create group -- sudo groupadd ssh
  • create users if necessary
  • add users to group -- sudo usermod -a --groups ssh <username>
  • sshd_config edits:
    • AllowGroups ssh
    • PasswordAuthentication no

About

linux tools: setup + configuration

License:The Unlicense


Languages

Language:Vim Script 54.5%Language:Python 25.4%Language:Shell 18.5%Language:CSS 1.1%Language:JavaScript 0.5%