Commit Graph

255 Commits

Author SHA1 Message Date
ad7e3ac01f Revert ".zshrc: Don't run dircolors on Darwin right now"
This reverts commit 0096deea56.

coreutils in pkgsrc 2015Q2 has been fixed.
2015-07-30 23:35:45 +03:00
48ad1ef39b Revert ".zshrc: Hardcode LS_COLORS for now on Darwin"
This reverts commit 36a7c17c71.

coreutils in pkgsrc 2015Q2 has been fixed.
2015-07-30 23:35:19 +03:00
0096deea56
.zshrc: Don't run dircolors on Darwin right now
The coreutils in pkgsrc 2015Q2 is broken right now so we don't have
dircolors on Darwin.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-07-28 21:28:26 +03:00
36a7c17c71
.zshrc: Hardcode LS_COLORS for now on Darwin
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>
2015-07-28 21:14:23 +03:00
f502639002
.zshrc: Switch to pkgsrc 2015Q2 on Darwin
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-07-28 21:13:24 +03:00
d5afbad716
.zshrc: Check for existence of bin directories we're adding
Actually check for the directories that we are adding to the PATH.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-07-26 14:07:40 +03:00
a5199335f1
.zshrc: Add BasicTex 2015 paths
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-07-26 13:23:56 +03:00
cdd9e1aa0f
.zshrc: Add path for Heroku toolbelt
Heroku's official packages install here on all *nix platforms.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-06-23 18:05:33 +03:00
eab699691e
.zshrc: Add BasicTeX directory to PATH
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-06-11 22:56:01 +03:00
a4556ba78a
.zshrc: Don't exit shell on ^D
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>
2015-06-01 21:18:19 +03:00
362500e8a5
.zshrc: Fix regex for Linux test
On GNU/Linux $OSTYPE returns "linux-gnu".

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-26 19:26:12 +03:00
74ad228591
.zshrc: Add paths for binary Golang distribution
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-21 22:49:07 +03:00
9ab16d43ad
.zshrc: Don't quote PATHs
It screws up the interpolation of ~.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-16 14:15:27 +03:00
e176bbd5e6
.zshrc: Fix path to NPM packages
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-14 17:57:24 +03:00
5d728f6620
Add .npmrc and a note in README.md
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-13 18:50:28 +03:00
705e10f0c0
.zshrc: Change npm environment logic
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>
2015-05-13 18:47:51 +03:00
2053967dfd
.zshrc: Use gdircolors for dircolors on Mac OS X
Then the dircoloring can be platform agnostic.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-10 12:32:50 +03:00
3c38f064d9
README.md: Add note about license
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-09 18:33:51 +03:00
6fd1ff3598
Add copy of GPLv3 license
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-09 18:33:14 +03:00
891ac5bfcf
README.md: Adjust headings
Use second- and third-level headings, respectively. When rendered
in GitHub, `#` is an `<h1>`, which should actually be the most pro-
minent heading on the page; in this case GitHub's own headings sho-
uld take precedence, so ours should start at `<h2>` essentially.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-09 18:29:09 +03:00
ffe79e3a0b
.zshrc: Fix ansible hosts environment variable
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-09 18:22:32 +03:00
45f14fee92
.zshrc: less is the same on Mac OS X and Linux
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-09 18:21:45 +03:00
0df8db6540
README.md: Add notes for .zshrc
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-05 11:55:15 +03:00
e871929aa0 Merge pull request #1 from alanorth/cross-platform-cleanups
Cross platform cleanups
2015-05-05 11:44:36 +03:00
aaf0f15669
.zshrc: Only export variables at the end
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-05 11:40:42 +03:00
5d13f77f10
.zshrc: Make more portable for cross-platform use
Test Mac OS X / Linux properly, and get rid of Homebrew-isms -- I
am now using pkgsrc instead.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-05 11:39:45 +03:00
eee6929dc4
.zshrc: Fix Ansible inventory variable
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-05 10:34:10 +03:00
518555f9b7
.tmux.conf: Use ${SHELL} to launch default shell
Then it appears tmux uses the user's default shell on the system,
ie the one set in /etc/passwd (or via chsh).

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-05 10:32:14 +03:00
c42a4edfd4
.bashrc: Change npm test logic
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>
2015-03-13 11:25:26 +03:00
049c3600ef .zshrc: Change npm test logic
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>
2015-03-13 11:24:33 +03:00
3eb6278ffe
.zshrc: Export the PS1 instead of just setting it
I'm not sure if this is important actually, but I suppose we want
subshells to get the PS1?

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-03-13 11:09:01 +03:00
014b8d6a55
.zshrc: Change history file location
Also remove lame comment by zsh setup assistant.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-03-13 11:08:23 +03:00
5109516e0b
Add .zshrc
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-03-12 09:33:04 +03:00
83197997c4
README is in Markdown, so make it README.md
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-12-08 13:22:40 +03:00
1f697ba28d
README: Update description, add install notes, etc
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-12-08 13:22:17 +03:00
82be39b15c
.muttrc: Remove unused options
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-11-09 09:43:10 +03:00
6ff5fbcdfd
.muttrc: Meh, add imap and smtp username
It's not like that information is hard to find... or private...

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-11-07 18:23:04 +03:00
3925b86aff
Add .muttrc
Private stuff is in ~/.mutt/muttrc-private.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-11-07 18:20:22 +03:00
9fe1894b08
Add Solarized Dark 16 mutt colors
From: https://github.com/altercation/mutt-colors-solarized

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-11-07 18:04:00 +03:00
caf2c3167d
.bashrc: Stop spamming errors when npm doesn't exist
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-30 23:05:41 +03:00
9a93eef13f
.bashrc: Add homebrew's sbin to PATH
Some stuff, like mtr, is in sbin instead of bin.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-30 10:37:09 +03:00
a664895145
.bashrc: Enable pyenv-virtualenv
Needs to be cloned into pyenv's plugins folder, see:

https://github.com/yyuu/pyenv-virtualenv

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-29 19:04:39 +03:00
baaf94e155
.bashrc: Enable Pyenv support
Gotta clone the Pyenv repo to ~/.pyenv, see:

    https://github.com/yyuu/pyenv#basic-github-checkout

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-29 17:33:31 +03:00
00ee82685a
.bashrc: Use more portable [[ test
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-29 17:11:25 +03:00
d1f7bb4ef2
.bashrc: Fix if syntax for last commit
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-29 17:10:54 +03:00
16889f31ab .bashrc: less -R works anywhere we have GNU coreutils' less
If you have a Mac and you're not using coreutils... then ifdef this.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-29 16:40:28 +03:00
9dd5a52bd1
.vimrc: Remove version test
Vim 6?  WTF?

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-11 19:25:05 +03:00
cc08a87d6a
.bashrc: Add bash_completion for Mac OS X
Will allow you to tab complete stuff like ssh remote paths etc once
you install it via brew:

        brew install bash-completion

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-08 20:47:19 +03:00
19a886ed14
.bashrc: Export Ansible hosts var
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-05 14:43:13 +03:00
e50f65976e
.bashrc: Only add node binaries to path if we have npm
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-05 14:34:47 +03:00