I prefer pkgsrc, but the packages are only updated once per quarter,
so if something is broken you won't get a fixed version for a few
months, or if you want some new upstream release you have to wait.
Installed homebrew manually in /opt/brew because of Mac OS X's system
integrity protection since 10.11.
Signed-off-by: Alan Orth <alan.orth@gmail.com>
These are needed by password store (pass) when editing passwords,
and they are not part of the user's PATH by default.
Signed-off-by: Alan Orth <alan.orth@gmail.com>
Easier to use different nodejs versions and have "global" packages
that don't need root to install.
See: https://github.com/creationix/nvm
Signed-off-by: Alan Orth <alan.orth@gmail.com>
Stripping metadata from the image saves 20–50KB, and the only reas-
on I kept it in the first place was for the color profile (which is
unnecessary on the web anyways).
Signed-off-by: Alan Orth <alan.orth@gmail.com>
gm's manpage says RGB is the default so there's no need to specify
this. Furthermore, the W3C says that sRGB is the default color space
for the web anyways, so it's pointless to embed a color profile.
Signed-off-by: Alan Orth <alan.orth@gmail.com>
pkgsrc doesn't provide a `vimdiff` wrapper, and it's just `vim -d`
anyways, so we can just alias it and then use the vim from pkgsrc.
Signed-off-by: Alan Orth <alan.orth@gmail.com>
The coreutils in pkgsrc 2015Q2 is broken for now, so we can't use
dircolors. Instead, manually hardcode the LS_COLORS, which was gen-
erated from dircolors on a system with coreutils using:
$ dircolors -b ~/.dircolors.ansi-dark
... and then export CLICOLOR=1.
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This is super annoying when you're in a pager like more or less and
you are pressing ^D to go down. When you reach the end of the input
then you send ^D to the shell and it exits!
Signed-off-by: Alan Orth <alan.orth@gmail.com>
Use a local npm package prefix so I can `npm install -g` without
having to give hipster npm access to /usr/lib or whatever.
Signed-off-by: Alan Orth <alan.orth@gmail.com>
The whole `if command ...` logic doesn't make sense to me, because
the command exits with 0 if it is successful, which means false!
This is just more readable anyways.
Signed-off-by: Alan Orth <alan.orth@gmail.com>