Commit Graph

30 Commits

Author SHA1 Message Date
Alan Orth 38ccacd055
.bashrc: Use Selenized for LS_COLORS 2020-07-10 13:51:41 +03:00
Alan Orth 8b1f4d6c33
.bashrc: Remove pyenv 2017-05-30 18:04:30 +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 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 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 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 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 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