dotfiles-public.git
12 years agoIf you have a ~/.hosts file, export HOSTALIASES to use it.
W. Trevor King [Thu, 1 Dec 2011 18:03:12 +0000 (13:03 -0500)]
If you have a ~/.hosts file, export HOSTALIASES to use it.

12 years agoOnly run xmodmap in .xinitrc if you have the executable installed in your PATH.
W. Trevor King [Thu, 1 Dec 2011 18:02:21 +0000 (13:02 -0500)]
Only run xmodmap in .xinitrc if you have the executable installed in your PATH.

12 years agoMove modifier key definitions to top of .Xmodmap for easy patching.
W. Trevor King [Thu, 1 Dec 2011 16:31:04 +0000 (11:31 -0500)]
Move modifier key definitions to top of .Xmodmap for easy patching.

12 years agoAdd Fedora support to .bashrc.d/01detect_system (based on Fedora 8).
W. Trevor King [Thu, 1 Dec 2011 15:23:48 +0000 (10:23 -0500)]
Add Fedora support to .bashrc.d/01detect_system (based on Fedora 8).

12 years agoAdd local-patch.examples with common patch samples.
W. Trevor King [Thu, 1 Dec 2011 14:25:11 +0000 (09:25 -0500)]
Add local-patch.examples with common patch samples.

Now I can symlink to these patches from local-patch, which is easier
than maintaining similar patches manually for a range of similar
hosts.

12 years agoAvoid sourcing /etc/bash_completion twice for Debian-based distributions.
W. Trevor King [Thu, 1 Dec 2011 13:50:36 +0000 (08:50 -0500)]
Avoid sourcing /etc/bash_completion twice for Debian-based distributions.

On a system running Debian 5.0 (Lenny), running /etc/bash_completion
once sets some variables (e.g. BASH_COMPLETION) and then makes them
read-only.  Running /etc/bash_completion again raises errors when it
tries to reset these read-only variables, and the script bails, taking
down all subsequent .bashrc processing with it.  Work around this
problem by only sourcing /etc/bash_completion if the BASH_COMPLETION
variable is empty.

Later versions of /etc/bash_completion avoid this issue by only
setting the variables if they are empty.

Versions affected:
  Debian 5.0 (Lenny) running /etc/bash_completion 20060301
  Ubuntu 8.04.4      running /etc/bash_completion 20060301
Versions not affected:
  Ubuntu 9.04        running /etc/bash_completion 20080617.5
  Ubuntu 10.04.2     running /etc/bash_completion 1.1 (2009)
  Ubuntu 10.04.3     running /etc/bash_completion 1.1 (2009)

The fix should work with all the versions I've seen.

12 years agoUse .dir_colors and .bashrc.d/15prompt_dircolors to set LS_COLORS.
W. Trevor King [Thu, 1 Dec 2011 12:17:59 +0000 (07:17 -0500)]
Use .dir_colors and .bashrc.d/15prompt_dircolors to set LS_COLORS.

This uses the dircolors utility from GNU coreutils.  I created
.dircolors by running:
  $ dircolors --print-database > .dir_colors
on my Gentoo system.

12 years agoAdd prompt and dircolors setup .bashrc.d/15prompt_dircolors from Gentoo's /etc/bash...
W. Trevor King [Thu, 1 Dec 2011 12:07:48 +0000 (07:07 -0500)]
Add prompt and dircolors setup .bashrc.d/15prompt_dircolors from Gentoo's /etc/bash/bashrc.

12 years agoAdd X-terminal title setting with .bashrc.d/70title from Gentoo's /etc/bash/bashrc.
W. Trevor King [Thu, 1 Dec 2011 12:06:26 +0000 (07:06 -0500)]
Add X-terminal title setting with .bashrc.d/70title from Gentoo's /etc/bash/bashrc.

12 years agoAdd .bashrc.d/05histappend from Gentoo's /etc/bash/bashrc.
W. Trevor King [Thu, 1 Dec 2011 11:59:00 +0000 (06:59 -0500)]
Add .bashrc.d/05histappend from Gentoo's /etc/bash/bashrc.

12 years agoOops, grep returns 0 when it finds a match. Update .bashrc.d/01detect_system accordi...
W. Trevor King [Wed, 30 Nov 2011 21:04:16 +0000 (16:04 -0500)]
Oops, grep returns 0 when it finds a match.  Update .bashrc.d/01detect_system accordingly.

12 years agoRestructure .bashrc.d for prefix-ordered mass sourcing.
W. Trevor King [Wed, 30 Nov 2011 20:42:51 +0000 (15:42 -0500)]
Restructure .bashrc.d for prefix-ordered mass sourcing.

Inspired by Gentoo's setup of /etc/env.d, /etc/profile.d, etc.

12 years agoAdd /usr/sbin and /sbin to PATH in .bash_profile.
W. Trevor King [Wed, 30 Nov 2011 17:23:23 +0000 (12:23 -0500)]
Add /usr/sbin and /sbin to PATH in .bash_profile.

12 years agoAdjust .bashrc and .bashrc.d/dotfiles with the new dotfiles-framework locations.
W. Trevor King [Wed, 30 Nov 2011 14:02:25 +0000 (09:02 -0500)]
Adjust .bashrc and .bashrc.d/dotfiles with the new dotfiles-framework locations.

Also add ~/ to .bashrc.d sourcings in .bashrc, so you can source
~/.bashrc without being in your home directory.

12 years agoPlace .bashrc invokation after PATH tweaking in .bash_profile so .bashrc has the...
W. Trevor King [Wed, 30 Nov 2011 14:00:51 +0000 (09:00 -0500)]
Place .bashrc invokation after PATH tweaking in .bash_profile so .bashrc has the full PATH.

12 years agoStrip out dotfiles framework (it's now a standalone package).
W. Trevor King [Tue, 29 Nov 2011 23:08:40 +0000 (18:08 -0500)]
Strip out dotfiles framework (it's now a standalone package).

12 years agoAdd .fluxbox/keys.
W. Trevor King [Tue, 29 Nov 2011 13:39:18 +0000 (08:39 -0500)]
Add .fluxbox/keys.

12 years agoOops, uncomment load-path adjustment in .emacs.
W. Trevor King [Tue, 29 Nov 2011 13:38:00 +0000 (08:38 -0500)]
Oops, uncomment load-path adjustment in .emacs.

12 years agoUse the default calendar command (comment out alias in .bash_aliases).
W. Trevor King [Tue, 29 Nov 2011 13:20:05 +0000 (08:20 -0500)]
Use the default calendar command (comment out alias in .bash_aliases).

12 years agoUpdate gnugo.el from version 2.2.12 to 2.2.13.
W. Trevor King [Tue, 29 Nov 2011 13:12:08 +0000 (08:12 -0500)]
Update gnugo.el from version 2.2.12 to 2.2.13.

Downloaded from
  http://www.gnuvola.org/software/personal-elisp/dist/lisp/diversions/gnugo.el

12 years agoAdd gnugo.el to Emacs packages.
W. Trevor King [Tue, 29 Nov 2011 12:23:58 +0000 (07:23 -0500)]
Add gnugo.el to Emacs packages.

This is a fresh download from the Emacs wiki:
  http://www.emacswiki.org/emacs/download/gnugo.el

12 years agoAdd cython-mode.el to emacs packages.
W. Trevor King [Tue, 29 Nov 2011 12:08:37 +0000 (07:08 -0500)]
Add cython-mode.el to emacs packages.

This is a fresh download from the Cython repository:
  https://raw.github.com/cython/cython/master/Tools/cython-mode.el

12 years agoBring in a few more .emacs tweaks: aspell, utf-8, and no-vc.
W. Trevor King [Tue, 29 Nov 2011 12:01:06 +0000 (07:01 -0500)]
Bring in a few more .emacs tweaks: aspell, utf-8, and no-vc.

13 years agoSplit .emacs configuration files into logical blocks.
W. Trevor King [Mon, 28 Nov 2011 22:04:43 +0000 (17:04 -0500)]
Split .emacs configuration files into logical blocks.

13 years agoAdd singingkey to .gitconfig.
W. Trevor King [Mon, 28 Nov 2011 21:35:23 +0000 (16:35 -0500)]
Add singingkey to .gitconfig.

13 years agoAdd ignore_missing_extensions to bazaar.conf.
W. Trevor King [Mon, 28 Nov 2011 21:34:34 +0000 (16:34 -0500)]
Add ignore_missing_extensions to bazaar.conf.

13 years agoAdd Mercurial's churn plugin, and use ' =' instead of '='.
W. Trevor King [Mon, 28 Nov 2011 21:33:34 +0000 (16:33 -0500)]
Add Mercurial's churn plugin, and use ' =' instead of '='.

13 years agoFlesh out .mailcap.
W. Trevor King [Mon, 28 Nov 2011 21:32:07 +0000 (16:32 -0500)]
Flesh out .mailcap.

13 years agoMove to simpler, fluxbox-only .xinirc.
W. Trevor King [Mon, 28 Nov 2011 21:28:22 +0000 (16:28 -0500)]
Move to simpler, fluxbox-only .xinirc.

13 years agoAdd .XCompose file.
W. Trevor King [Mon, 28 Nov 2011 21:21:08 +0000 (16:21 -0500)]
Add .XCompose file.

13 years agoAdd `-p0` to patch.sh's patch call (to find files in dotted directories).
W. Trevor King [Mon, 28 Nov 2011 21:12:55 +0000 (16:12 -0500)]
Add `-p0` to patch.sh's patch call (to find files in dotted directories).

13 years agoAssorted changes to .Xmodmap, including the addition of Multi_key.
W. Trevor King [Mon, 28 Nov 2011 21:06:26 +0000 (16:06 -0500)]
Assorted changes to .Xmodmap, including the addition of Multi_key.

13 years agoRe-organize dotfiles management scripts.
W. Trevor King [Mon, 28 Nov 2011 19:38:49 +0000 (14:38 -0500)]
Re-organize dotfiles management scripts.

See `README` for details on the new framework, which I think is more
flexible and transparent.

Moved the dotfiles themselves from `_XXX` to `src/.XXX`, which makes
it easy to keep them separate from the controlling scripts, and avoids
the need to make string replacements in the filesnames.

Removed `Makefile` (in favor of calling the scripts management scripts
directly).

Added `.gitigore`, ignoring locally created directories.

13 years agoUse tabs instead of spaces to indent _gitconfig.
W. Trevor King [Mon, 28 Nov 2011 15:23:47 +0000 (10:23 -0500)]
Use tabs instead of spaces to indent _gitconfig.

13 years agoAdd URL for calendar package and adjust the calendar's trigger in _bash_profile.
W. Trevor King [Mon, 28 Nov 2011 11:51:48 +0000 (06:51 -0500)]
Add URL for calendar package and adjust the calendar's trigger in _bash_profile.

13 years agoCorrect maintnance -> maintenance typo in README.
W. Trevor King [Mon, 28 Nov 2011 11:37:01 +0000 (06:37 -0500)]
Correct maintnance -> maintenance typo in README.

13 years agoAutomatically grab SSH-agent info if it exists.
W. Trevor King [Wed, 9 Nov 2011 19:11:23 +0000 (14:11 -0500)]
Automatically grab SSH-agent info if it exists.

The key info location is determined by my `ssh-prime.sh` script.  See
my SSH blog post for details [1].

[1]: http://physics.drexel.edu/~wking/unfolding-disasters/posts/SSH/

13 years agoAdd ~/.cabal to PATH in _bashrc.
W. Trevor King [Wed, 9 Nov 2011 19:10:06 +0000 (14:10 -0500)]
Add ~/.cabal to PATH in _bashrc.

13 years agoAdd bra and ket comments to _Xmodmap.
W. Trevor King [Wed, 9 Nov 2011 19:07:49 +0000 (14:07 -0500)]
Add bra and ket comments to _Xmodmap.

13 years agoAdd _signature (email signature used by Mutt, etc.).
W. Trevor King [Sat, 4 Jun 2011 16:18:48 +0000 (12:18 -0400)]
Add _signature (email signature used by Mutt, etc.).

14 years agoUse dot operator instead of guillemotright for . slot 4 in _Xmodmap.
W. Trevor King [Thu, 4 Nov 2010 18:01:12 +0000 (14:01 -0400)]
Use dot operator instead of guillemotright for . slot 4 in _Xmodmap.

14 years agoAdjust _bashrc to drop `screen.` from `screen.*` TERMs (for Ubuntu).
W. Trevor King [Sat, 23 Oct 2010 12:16:16 +0000 (08:16 -0400)]
Adjust _bashrc to drop `screen.` from `screen.*` TERMs (for Ubuntu).

14 years agoThe keycode for Alt_R seems to have changed on Ubuntu. Update 113->108.
W. Trevor King [Fri, 22 Oct 2010 12:36:54 +0000 (08:36 -0400)]
The keycode for Alt_R seems to have changed on Ubuntu.  Update 113->108.

14 years agoAdd JAVA_HOME to _bashrc.
W. Trevor King [Thu, 30 Sep 2010 16:23:10 +0000 (12:23 -0400)]
Add JAVA_HOME to _bashrc.

14 years agoAdded Ruby (Gems) paths to _bashrc.
W. Trevor King [Thu, 30 Sep 2010 16:22:25 +0000 (12:22 -0400)]
Added Ruby (Gems) paths to _bashrc.

14 years agoAdd assorted useful extensions to _hgrc.
W. Trevor King [Thu, 30 Sep 2010 16:18:57 +0000 (12:18 -0400)]
Add assorted useful extensions to _hgrc.

14 years agoTypo fixes and Greek -> math unicode replacements in _Xmodmap.
W. Trevor King [Thu, 30 Sep 2010 16:16:57 +0000 (12:16 -0400)]
Typo fixes and Greek -> math unicode replacements in _Xmodmap.

14 years agoAutomatically adjust PYTHONPATH for locally installed Python version.
W. Trevor King [Thu, 17 Jun 2010 19:18:03 +0000 (15:18 -0400)]
Automatically adjust PYTHONPATH for locally installed Python version.

14 years agoAdd more physics symbols to _Xmodmap
W. Trevor King [Sun, 6 Jun 2010 14:44:40 +0000 (10:44 -0400)]
Add more physics symbols to _Xmodmap

14 years agoEnable convert and graphlog Mercurial extensions.
W. Trevor King [Thu, 3 Jun 2010 11:03:35 +0000 (07:03 -0400)]
Enable convert and graphlog Mercurial extensions.

See
  http://mercurial.selenic.com/wiki/ConvertExtension
  http://mercurial.selenic.com/wiki/GraphlogExtension

14 years agoCopy script explanations into Makefile.
W. Trevor King [Tue, 1 Jun 2010 17:55:36 +0000 (13:55 -0400)]
Copy script explanations into Makefile.

I always confuse fixup and update.  Now I only have to read one file
to refresh my memory.

14 years agoMove path definitions forward in _bashrc
W. Trevor King [Tue, 1 Jun 2010 17:46:06 +0000 (13:46 -0400)]
Move path definitions forward in _bashrc

This way they are defined even for non-interactive sessions.  An
example where this is necessary is for the target of an
  hg push ssh://...

Where you can't install Mercurial systemwide on the target.  Mercurial
logs in using ssh without setting up a prompt, but we still need to
define a PATH and PYTHONPATH including the Mercurial install
locations:
  ~/bin/hg
  ~/lib/python2.5/site-packages/mercurial-1.5.3-py2.5-linux-i686.egg/
Actually, the .egg directory is added in
  ~/lib/python2.5/site-packages/easy-install.pth
So we only need
  ~/lib/python2.5/site-packages/
in our PYTHONPATH.

14 years agoEnable Mercurial's purge extension.
W. Trevor King [Tue, 1 Jun 2010 17:42:50 +0000 (13:42 -0400)]
Enable Mercurial's purge extension.

This allows
  hg purge
which removes all non-versioned files from the working directory.

See http://mercurial.selenic.com/wiki/PurgeExtension

14 years agoAdded some emoticon-like arabic letters to _Xmodmap
W. Trevor King [Sat, 20 Mar 2010 11:09:19 +0000 (07:09 -0400)]
Added some emoticon-like arabic letters to _Xmodmap

14 years agoRemove initial : from PATH in _bashrc
W. Trevor King [Tue, 2 Mar 2010 14:21:22 +0000 (09:21 -0500)]
Remove initial : from PATH in _bashrc

14 years agoEnable Firefox when appropriate in _mailcap
W. Trevor King [Tue, 2 Mar 2010 14:21:02 +0000 (09:21 -0500)]
Enable Firefox when appropriate in _mailcap

15 years agoAdjust PATH to put my directories first
W. Trevor King [Fri, 20 Nov 2009 12:44:30 +0000 (07:44 -0500)]
Adjust PATH to put my directories first

15 years agoAdded superscript zero near subscript zero.
W. Trevor King [Tue, 10 Nov 2009 17:55:03 +0000 (12:55 -0500)]
Added superscript zero near subscript zero.

15 years agoTypo 'autosoce' -> autosave in _emacs
W. Trevor King [Wed, 16 Sep 2009 12:15:11 +0000 (08:15 -0400)]
Typo 'autosoce' -> autosave in _emacs

15 years agow3mh alias to start at my homepage
W. Trevor King [Tue, 4 Aug 2009 16:06:07 +0000 (12:06 -0400)]
w3mh alias to start at my homepage

15 years agoSome autogenerated Bazaar configuration?
W. Trevor King [Tue, 4 Aug 2009 16:04:59 +0000 (12:04 -0400)]
Some autogenerated Bazaar configuration?

15 years agoAdded _bazaar configuration directory
W. Trevor King [Tue, 14 Jul 2009 13:41:44 +0000 (09:41 -0400)]
Added _bazaar configuration directory

15 years agoSomething was complaining about mal-formed mailcap lines...
W. Trevor King [Wed, 20 May 2009 16:45:29 +0000 (12:45 -0400)]
Something was complaining about mal-formed mailcap lines...

15 years agoFixed typo in bash completion comment in .bashrc.
W. Trevor King [Sun, 18 Jan 2009 15:24:57 +0000 (10:24 -0500)]
Fixed typo in bash completion comment in .bashrc.

15 years agoFix comment for HISTCONTROL in .bashrc
W. Trevor King [Sun, 18 Jan 2009 15:16:17 +0000 (10:16 -0500)]
Fix comment for HISTCONTROL in .bashrc

15 years agoBegin versioning and syncing .mailcap file.
W. Trevor King [Thu, 15 Jan 2009 15:16:35 +0000 (10:16 -0500)]
Begin versioning and syncing .mailcap file.

15 years agoAdded highly buffered ogg123 alias oggr to .bashrc for radio streams.
W. Trevor King [Thu, 15 Jan 2009 15:15:45 +0000 (10:15 -0500)]
Added highly buffered ogg123 alias oggr to .bashrc for radio streams.

15 years agoAdded subscript zero shortcut
W. Trevor King [Thu, 15 Jan 2009 15:15:27 +0000 (10:15 -0500)]
Added subscript zero shortcut

16 years agoAdded a note & link to the beginning of _screenrc.
W. Trevor King [Thu, 27 Nov 2008 17:35:59 +0000 (12:35 -0500)]
Added a note & link to the beginning of _screenrc.

16 years agoOk, now I've fixed disconnect.sh ;). I even tested it once too :p.
W. Trevor King [Wed, 26 Nov 2008 19:34:33 +0000 (14:34 -0500)]
Ok, now I've fixed disconnect.sh ;).  I even tested it once too :p.

16 years agoReworked original crummy disconnect script
W. Trevor King [Wed, 26 Nov 2008 19:26:55 +0000 (14:26 -0500)]
Reworked original crummy disconnect script

16 years agoRemoved old debugging echo from fixup.
W. Trevor King [Wed, 26 Nov 2008 19:22:07 +0000 (14:22 -0500)]
Removed old debugging echo from fixup.

16 years agoAdded disconnect.sh and associated elements.
W. Trevor King [Wed, 26 Nov 2008 19:17:40 +0000 (14:17 -0500)]
Added disconnect.sh and associated elements.

Now you can stop tracking the central server and restore a standard
setup if you want.

16 years agoAdjusted so that the weekly update actually runs fixup.
W. Trevor King [Wed, 26 Nov 2008 18:23:13 +0000 (13:23 -0500)]
Adjusted so that the weekly update actually runs fixup.

Previously it only ran update, which syncs ~/.dotfiles with the server.
This would update symlinked stuff, but not localpatches.  Now the
patches are reapplied if necessary.

16 years agoAdded update.sh and some small adjustments in _bashrc.
W. Trevor King [Wed, 26 Nov 2008 18:08:39 +0000 (13:08 -0500)]
Added update.sh and some small adjustments in _bashrc.

16 years agoOops, forgot to dereference $GIT_PATH. Successful wgets now...
W. Trevor King [Wed, 26 Nov 2008 17:50:37 +0000 (12:50 -0500)]
Oops, forgot to dereference $GIT_PATH.  Successful wgets now...

16 years agoMerge branch 'master' of ssh://wking@einstein/~/public_html/code/git/dotfiles
W. Trevor King [Wed, 26 Nov 2008 17:45:14 +0000 (12:45 -0500)]
Merge branch 'master' of ssh://wking@einstein/~/public_html/code/git/dotfiles

16 years agoCreated README explaining localpatch usage.
W. Trevor King [Wed, 26 Nov 2008 17:55:56 +0000 (12:55 -0500)]
Created README explaining localpatch usage.

16 years agoAdded local.patch support for easy minor tweaks on the central theme.
W. Trevor King [Wed, 26 Nov 2008 17:48:00 +0000 (12:48 -0500)]
Added local.patch support for easy minor tweaks on the central theme.

See the README comming next commit for motivation and more details.

16 years agoKeep the emacs autosave-list ~/.auto-save-list to avoid cluttering ~/.dotfiles
W. Trevor King [Wed, 26 Nov 2008 17:46:03 +0000 (12:46 -0500)]
Keep the emacs autosave-list ~/.auto-save-list to avoid cluttering ~/.dotfiles

16 years agoAdded auto-update to _bashrc. Currently UNTESTED.
W. Trevor King [Wed, 26 Nov 2008 17:44:00 +0000 (12:44 -0500)]
Added auto-update to _bashrc.  Currently UNTESTED.

16 years agoFixed typo breaking Makefile:override
W. Trevor King [Wed, 26 Nov 2008 14:00:16 +0000 (09:00 -0500)]
Fixed typo breaking Makefile:override

16 years agoNow diffs are for the transition ~/.file -> ./_file.
William Trevor King [Wed, 26 Nov 2008 13:54:40 +0000 (08:54 -0500)]
Now diffs are for the transition ~/.file -> ./_file.

16 years agoMoved personal paths to the end of PATH. Safer that way...
W. Trevor King [Wed, 26 Nov 2008 13:34:00 +0000 (08:34 -0500)]
Moved personal paths to the end of PATH.  Safer that way...

16 years agoUse full path to emacs for EDITOR and add -nw (no window) to alias in bashrc.
W. Trevor King [Wed, 26 Nov 2008 13:31:04 +0000 (08:31 -0500)]
Use full path to emacs for EDITOR and add -nw (no window) to alias in bashrc.

16 years agoBegan versioning my dotfiles.
W. Trevor King [Wed, 26 Nov 2008 12:53:43 +0000 (07:53 -0500)]
Began versioning my dotfiles.

Excellent implementation idea from Steve Kemp.
http://dotfiles.repository.steve.org.uk/