Giter Site home page Giter Site logo

j-martin / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
33.0 7.0 11.0 1.28 MB

Config to be shared across a bunch of computers

Shell 42.10% Python 2.11% Emacs Lisp 7.90% Makefile 0.16% AppleScript 0.69% C 1.89% Scala 0.06% Lua 15.09% Awk 3.96% YASnippet 0.13% Vim Script 25.82% jq 0.09%

dotfiles's Introduction

dotfiles

The git worktree is inspired from organizing dotfiles in a git repository. The rest is just years of collecting stuff.

Create and add SSH Key passphrase to keyring

$ ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/github
# Must use the system ssh-add instead of the one installed by Brew
$ /usr/bin/ssh-add --apple-use-keychain ~/.ssh/github
$ cat ~/.ssh/github.pub | pbcopy

Initial dotfiles installation

alias home="git --work-tree=$HOME --git-dir=$HOME/.files.git"

# After loading the alias
home init
home remote add origin [email protected]:j-martin/dotfiles.git
home fetch
home checkout main
home submodule init
home submodule update

Setup and configuration

Install applications and other configurations.

$ .setup/setup.sh

Manual Steps

Could be scripted, but involves a bunch of manual user inputs.

FZF

$ /usr/local/opt/fzf/install
#or
$ /opt/homebrew/opt/fzf/install

Load GPG Key

$ keybase pgp pull-private --all

Copy .gitconfig

$ cp .gitconfig.ref .gitconfig
$ cp .ssh.config .ssh/config

dotfiles's People

Contributors

j-martin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.