Commit Graph

212 Commits

Author SHA1 Message Date
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
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
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
3acf511d08 Remove screenrc
Does anyone actually use screen anymore?
2014-10-03 11:29:56 +03:00
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
1afafd17e6 Fix some things for Mac OS X 2014-10-03 11:26:45 +03:00
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
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
2a2aead69c
.bashrc: Fix setting of term title
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-18 13:05:35 +03:00
0d7b9ac425
.bashrc: Re-enable history saving
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-17 22:49:47 +03:00
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
fcf1e381c2
.bashrc: Add common commands to HISTIGNORE
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-05-17 22:32:20 +03:00
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
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
bc2cce7f31 .bashrc: Use nicer fonts in Java apps 2013-08-07 11:58:24 +03:00
eca2387586 .bashrc: Use HISTCONTROL to ignore commands starting with a space 2013-08-05 15:25:50 +03:00
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
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
754a6803f5 .bashrc: Set the terminal titlebar to "user@machine: pwd" 2013-06-18 15:05:37 +03:00
a13bf8bbde .bashrc: Add check window size 2013-06-17 17:59:51 +03:00
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
c2fca72887 Add .bashrc 2013-06-08 23:32:09 +03:00
db4b30492a Rename dircolors.ansi-dark to .dircolors.ansi-dark
I end up symlinking to ~/.dircolors.ansi-dark anyways, but everyth-
ing else in this repo is named .*, so why not?
2013-06-08 18:00:30 +03:00
e12d53e1fa Remove .profile
Never used it, and technically it's a bad idea, as it isn't clear
which shell it's for.  Probably better to customize .bashrc (which
I might add here later).
2013-06-07 19:43:56 +03:00
0d9642cf21 dircolors.ansi-dark: Import solarized dircolors
See: https://github.com/seebi/dircolors-solarized/
2013-06-07 19:42:07 +03:00
699b5d7bcd .vim: Import vim colors
Saves me the trouble of having to clone the vim-solarized repo in
addition to my dotfiles repo on all my hosts.
2013-06-07 15:38:47 +03:00
710a1973dc .tmux.conf_centos6: CentOS terminfo doesn't like "bright" colors 2013-06-07 09:16:27 +03:00
ec4edbdd4b .tmux.conf_centos6: Import solarized colors for tmux 2013-06-07 09:15:22 +03:00
5c83f82166 .vimrc: Switch back to default 16-color solarized
With the terminal palette using 16-color solarized-dark, this is
actually much nicer.
2013-06-07 09:02:39 +03:00
50c7be3603 .tmux.conf: Bring in solarized tmux theme
From https://github.com/seebi/tmux-colors-solarized
2013-06-07 09:01:29 +03:00
6b7c49cd0b .vimrc: Add note about solarized 256 colors mode
We're not really even using solarized technically... I prefer the
"degraded" 256 color mode to the 16-color mode; too much blue!
2013-06-06 17:05:16 +03:00
2e4cc9f976 .tmux.conf: Add note about setting the proper term 2013-06-06 17:03:28 +03:00
c582ecc1a7 .vimrc: Set solarized transparency option
When solarized sets a background color it causes text selection via
Xorg/mouse to include otherwise blank space as actual spaces when
you paste it.  For some reason this only happens when using vim
inside screen/tmux.  Setting the transparency option solves it.
2013-06-06 17:03:28 +03:00
69fa6eb4b1 Add new tmux config for CentOS 6 clients
I'm sick of seeing errors like these at startup on my CentOS 6 boxes:

/home/aorth/.tmux.conf: 111: unknown option: window-status-bell-attr
/home/aorth/.tmux.conf: 112: unknown option: window-status-bell-fg
2013-05-18 15:43:12 +03:00
136d75adee .vimrc: Align comments 2013-05-07 12:17:26 +03:00
f558eb4b39 .tmux.conf: Set window index to 1
I'm all for zero-based indexes, but this doesn't really make sense
on the keyboard as the numbers start at 1. :)

Great tip from https://mutelight.org/practical-tmux
2013-05-06 23:23:19 +03:00
f1b3556e69 .vimrc: Back to dark config
It's so sexy, and I just can't hack the light one.
2013-05-02 21:45:06 +03:00
a0cc716f24 .vimrc: Switch vim to use solarized light colorscheme
Needs the actual color scheme installed:
    https://github.com/altercation/vim-colors-solarized
2013-04-21 16:45:32 +03:00
bc04f0f703 .tmux.conf: Less time between commands in a command sequence
Makes tmux feel more responsive, like when you enter copy mode you
can immediately start paging up and down; before tmux would wait a
second or so for other escape characters.
2013-03-06 21:36:26 +02:00
cf122873cd .vimrc: Cleanup (BASH -> bash) 2013-01-24 12:17:17 +03:00
f7d7e7dad4 .vimrc: Clean up spaces, 5 -> 4 2013-01-24 12:16:38 +03:00
7fa625c2d8 .vimrc: Always use spaces instead of tab characters 2013-01-24 12:14:26 +03:00
c32d234322 tmux: Change behavior of the visual bell
Tab completion triggers the bell, and typing input halts for a mic-
ro second.  It's really annoying.
2012-09-05 20:59:53 +03:00
fdb58f9708 tmux: Explicitly set vi bindings
The default is emacs, unless EDITOR contains "vi", but there's no
harm in setting this explicitly.
2012-09-04 14:55:05 +03:00