Commit Graph

334 Commits

Author SHA1 Message Date
Alan Orth 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
Alan Orth 0df8db6540
README.md: Add notes for .zshrc
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-05 11:55:15 +03:00
Alan Orth e871929aa0 Merge pull request #1 from alanorth/cross-platform-cleanups
Cross platform cleanups
2015-05-05 11:44:36 +03:00
Alan Orth 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
Alan Orth 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
Alan Orth eee6929dc4
.zshrc: Fix Ansible inventory variable
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-05 10:34:10 +03:00
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 5109516e0b
Add .zshrc
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-03-12 09:33:04 +03:00
Alan Orth 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
Alan Orth 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
Alan Orth 82be39b15c
.muttrc: Remove unused options
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-11-09 09:43:10 +03:00
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 00ee82685a
.bashrc: Use more portable [[ test
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-29 17:11:25 +03:00
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 19a886ed14
.bashrc: Export Ansible hosts var
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-05 14:43:13 +03:00
Alan Orth 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
Alan Orth 5682d144bb
.bashrc: Look for Node.js binaries in current directory
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-05 14:31:08 +03:00
Alan Orth 372facb8d9
.bashrc: Set path to Ansible hosts file
Look for `hosts` in current directory, so we can always use different
playbooks without having to keep changing depending on the playbook.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-10-05 14:15:48 +03:00
Alan Orth 3acf511d08 Remove screenrc
Does anyone actually use screen anymore?
2014-10-03 11:29:56 +03:00
Alan Orth 2c6e6c08f9 Remove CentOS 6 tmux config
For some time now EPEL has shipped a tmux which works with the main
config.
2014-10-03 11:28:16 +03:00
Alan Orth 1afafd17e6 Fix some things for Mac OS X 2014-10-03 11:26:45 +03:00
Alan Orth 6e257e9a7d
.bashrc: Turn off history stuff
It's annoying any really doesn't work.  Better to just remember
each terminal's own history.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-09-15 21:28:06 +03:00
Alan Orth 9e697bb24b
Update dircolors from latest git
https://github.com/seebi/dircolors-solarized

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-24 14:58:09 +03:00
Alan Orth 2a2aead69c
.bashrc: Fix setting of term title
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-18 13:05:35 +03:00
Alan Orth 0d7b9ac425
.bashrc: Re-enable history saving
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-17 22:49:47 +03:00
Alan Orth 066f5a99a2
.bashrc: ignorespace -> ignoreboth
ignoreboth will ignore commands starting with space as well as dup-
licate commands.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-17 22:34:12 +03:00
Alan Orth fcf1e381c2
.bashrc: Add common commands to HISTIGNORE
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-17 22:32:20 +03:00
Alan Orth e2e131a370
.bashrc: Disable aggressive history rewriting
Doesn't quite work the way you'd expect, need to find time to play
with this more.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-04-30 10:52:17 +03:00
Alan Orth 772f2a96e2 Revert ".bashrc: Use nicer fonts in Java apps"
This reverts commit bc2cce7f31.

Set this in /etc/environment instead so GUI apps can get it
2013-09-17 11:53:52 +03:00
Alan Orth bc2cce7f31 .bashrc: Use nicer fonts in Java apps 2013-08-07 11:58:24 +03:00
Alan Orth eca2387586 .bashrc: Use HISTCONTROL to ignore commands starting with a space 2013-08-05 15:25:50 +03:00
Alan Orth 656a377571 .bashrc: Add -F to ls
This will add indicators to entries to show their classifications,
such as / for directories and @ for symlinks.
2013-07-15 16:27:51 +03:00
Alan Orth 478b39eab9 Add .Xresources
Has settings to make rxvt-unicode use solarized-dark, as well as
some other nice things to make fonts look pretty like in gnome-terminal.
2013-06-28 15:20:20 +03:00
Alan Orth 754a6803f5 .bashrc: Set the terminal titlebar to "user@machine: pwd" 2013-06-18 15:05:37 +03:00
Alan Orth a13bf8bbde .bashrc: Add check window size 2013-06-17 17:59:51 +03:00
Alan Orth 8151b68bf2 .bashrc: We must export variables so children can access them
Child processes like `crontab -e` couldn't see that we wanted to
use vim for our editor, as the variable wasn't exported.
2013-06-14 12:40:28 +03:00
Alan Orth c2fca72887 Add .bashrc 2013-06-08 23:32:09 +03:00