Skip to content

Instantly share code, notes, and snippets.

View jasonwc's full-sized avatar
:shipit:
SHIP IT

Jason Carter jasonwc

:shipit:
SHIP IT
View GitHub Profile
# Path to your oh-my-zsh installation.
export ZSH=/Users/jasonwc/.oh-my-zsh
# Set name of the theme to load.
ZSH_THEME="agnoster"
COMPLETION_WAITING_DOTS="true"
plugins=(git history jira rails web-search thefuckj)
# User configuration
export PATH="/usr/local/bin:/Users/jasonwc/.rbenv/shims:/Users/jasonwc/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
@jasonwc
jasonwc / fix-ssh-key.sh
Last active April 2, 2020 22:44
Fix SSH key permissions
# After adding keys to a new shell
# wget -O - https://gist.githubusercontent.com/jasonwc/e6e907a8e9abfcf2eb806e910d95baf1/raw/a0e9241725ba2dd6c541602858abd455ae9bc732/fix-ssh-key.sh | bash
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
echo "Fixing permissions of ssh keys..."
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub