dotfiles-framework.git
12 years agoRelax no-associative-array bailout on fetch by assuming Git.
W. Trevor King [Thu, 1 Dec 2011 15:05:56 +0000 (10:05 -0500)]
Relax no-associative-array bailout on fetch by assuming Git.

12 years agoMove no-associative-array bailout from wget_fetch to *_repo_source.
W. Trevor King [Thu, 1 Dec 2011 14:44:55 +0000 (09:44 -0500)]
Move no-associative-array bailout from wget_fetch to *_repo_source.

12 years agoOnly initialize REPO_SOURCE_DATA if Bash supports associative arrays.
W. Trevor King [Thu, 1 Dec 2011 14:12:34 +0000 (09:12 -0500)]
Only initialize REPO_SOURCE_DATA if Bash supports associative arrays.

We already bail out if the user tries to clone using wget.  This
commit just avoids pestering the user with the 'declare' error
message.

12 years agoGive notification before applying local-patch/*.remove.
W. Trevor King [Thu, 1 Dec 2011 13:18:21 +0000 (08:18 -0500)]
Give notification before applying local-patch/*.remove.

12 years agoAdd check for Bash >= 3.1 (required for += array assignment).
W. Trevor King [Thu, 1 Dec 2011 12:51:24 +0000 (07:51 -0500)]
Add check for Bash >= 3.1 (required for += array assignment).

Browsing through the changelog
  http://git.savannah.gnu.org/cgit/bash.git/tree/CWRU/changelog
the change that added += was
  2004/11/05
  general.c
  - change `assignment()' to accept `+=' assignment operator
Looking through the released tarballs
  ftp://ftp.gnu.org/gnu/bash/
this change made it in between release 3.0.16 and 3.1.

12 years agoUse subshell and 'cd' instead of --git-dir and --work-tree for 'git pull'.
W. Trevor King [Wed, 30 Nov 2011 21:08:33 +0000 (16:08 -0500)]
Use subshell and 'cd' instead of --git-dir and --work-tree for 'git pull'.

I was getting:
  git-pull cannot be used without a working tree
Possibly a bug in git, but using a subshell is simple enough.

12 years agoSet --work-tree to REPO when running 'git pull'.
W. Trevor King [Wed, 30 Nov 2011 20:50:56 +0000 (15:50 -0500)]
Set --work-tree to REPO when running 'git pull'.

12 years agoRaise an error if the user tries to use wget-based repos with Bash < 4.0.
W. Trevor King [Wed, 30 Nov 2011 20:50:18 +0000 (15:50 -0500)]
Raise an error if the user tries to use wget-based repos with Bash < 4.0.

12 years agoOptions before repository name in command call inside run_on_all_repos.
W. Trevor King [Wed, 30 Nov 2011 17:34:20 +0000 (12:34 -0500)]
Options before repository name in command call inside run_on_all_repos.

12 years agoMore indentation fixups. I think everything's just tabs now.
W. Trevor King [Wed, 30 Nov 2011 17:31:54 +0000 (12:31 -0500)]
More indentation fixups.  I think everything's just tabs now.

12 years agoFix 'diff --remove' invocation inside 'diff --local-patch'.
W Trevor King [Wed, 30 Nov 2011 15:34:37 +0000 (10:34 -0500)]
Fix 'diff --remove' invocation inside 'diff --local-patch'.

12 years agoFix option handling in run_on_all_repos().
W Trevor King [Wed, 30 Nov 2011 15:30:09 +0000 (10:30 -0500)]
Fix option handling in run_on_all_repos().

12 years agoMore indentation fixups in dotfiles.sh.
W Trevor King [Wed, 30 Nov 2011 15:21:52 +0000 (10:21 -0500)]
More indentation fixups in dotfiles.sh.

12 years agoGit version 1.6.0.4 does not support cloning into existing directorries.
W Trevor King [Wed, 30 Nov 2011 15:19:10 +0000 (10:19 -0500)]
Git version 1.6.0.4 does not support cloning into existing directorries.

12 years agoAssorted indentation fixups in dotfiles.sh.
W Trevor King [Wed, 30 Nov 2011 15:16:44 +0000 (10:16 -0500)]
Assorted indentation fixups in dotfiles.sh.

12 years agoStrip down to just the framework, and compact that into a single dotfiles.sh. v0.2
W. Trevor King [Wed, 30 Nov 2011 14:40:10 +0000 (09:40 -0500)]
Strip down to just the framework, and compact that into a single dotfiles.sh.

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.

12 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.

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

12 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.

12 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 '='.

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

12 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.

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

12 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).

12 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.

12 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.

12 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.

12 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.

12 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/