Bash aliases and helper scripts
. <(curl -L https://j.mp/_rc) runsascoded/.rc
This downloads clone-and-source.sh
and runs it on this GitHub repo (runsascoded/.rc
), cloning it into .rc/
and appending source .rc/.*rc
to your .bashrc
.
The server
branch is default, and excludes a few modules:
submodules() {
git ls-tree "$@" | grep commit | awk '{print $4}'
}
comm -3 <(submodules server) <(submodules all)
# hammerspoon
# osx
# ruby
The all
branch includes all modules.
A few submodules require additional setup steps (but can be ignored if unused):
Similarly these modules need certain dependencies to be installed, for some functionality to work:
On OSX, these brew packages should cover most or all of the above:
brew install \
autoconf \
coreutils \
gettext \
git \
grep \
htop \
jenv \
mysql \
ncurses \
nvm \
openssl \
parallel \
pcre \
pcre2 \
pkg-config \
pyenv \
pyenv-virtualenv \
rbenv \
readline \
ruby-build \
sqlite \
xz \
zlib