Skip to content

Instantly share code, notes, and snippets.

View jumbosushi's full-sized avatar

Atsushi Yamamoto jumbosushi

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jumbosushi on github.
  • I am jumbosushi (https://keybase.io/jumbosushi) on keybase.
  • I have a public key whose fingerprint is 8AE0 7956 6449 9F08 CB99 4B3F 3AE6 3A6A 5E2A 2F09

To claim this, I am signing this object:

@jumbosushi
jumbosushi / get-cfg
Last active October 30, 2017 22:18
Pull dotfiles
git clone --bare https://github.com/jumbosushi/dotfiles.git $HOME/.cfg
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
echo "Checked out config.";
else
echo "Backing up pre-existing dot files.";