Skip to content

runsascoded/.rc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

runsascoded/.rc – dotfiles

Bash aliases and helper scripts

Quickstart

. <(curl -L https://j.mp/_rc) runsascoded/.rc

This downloads clone-and-source.sh and runs it on this repo/branch, cloning into .rc/, appending to .bashrc (to source .rc in new sessions), and sourceing .rc in the current session.

This branch (server) is default; all includes a few additional modules:

submodules() {
    git ls-tree "$@" | grep commit | awk '{print $4}'
}
comm -3 <(submodules server) <(submodules all)
#	hammerspoon
#	osx
#	ruby

This repo and its submodules are also mirrored on GitLab.

Install dependencies (optional)

A few submodules require additional setup steps (but can be ignored if unused):

Git configs

I typically set these global configs as well:

git config --global init.defaultBranch main           # a.k.a. `gdbm`
git config --global clone.defaultRemoteName u         # a.k.a. `gcdr u`
git config --global push.default current              # a.k.a. `gpdc`
git config --global receive.denyCurrentBranch ignore  # a.k.a. `gaps`
git config --global diff.noprefix true                # a.k.a. `gdnpt`

(aliases defined in git-helpers)