W. Trevor King [Tue, 15 Jan 2013 03:55:33 +0000 (22:55 -0500)]
dotfiles.sh: Fix 'fetch' -> 'diff' typo in 'diff command' comment
W. Trevor King [Sun, 30 Dec 2012 15:55:55 +0000 (10:55 -0500)]
README: Fix "so" -> "to" typo
W. Trevor King [Thu, 27 Sep 2012 13:45:49 +0000 (09:45 -0400)]
Add DOTFILES_* environment variable overrides for external utilities.
W. Trevor King [Thu, 27 Sep 2012 13:17:11 +0000 (09:17 -0400)]
Pass update() options through to link().
This makes it easy to customize linking behavior while still using
update() and its fetch-avoidance.
W. Trevor King [Thu, 27 Sep 2012 13:12:46 +0000 (09:12 -0400)]
Fix locations for nonempty_option in disconnect() and update().
W. Trevor King [Thu, 27 Sep 2012 13:09:15 +0000 (09:09 -0400)]
Fix arrats -> arrays typo in a comment.
W. Trevor King [Thu, 27 Sep 2012 13:02:22 +0000 (09:02 -0400)]
Don't force loopy local symlinks if we've already linked a parent.
This avoids things like:
.emacs.d/site-lisp -> .../patched-src/.emacs.d/site-lisp
.emacs.d/site-lisp/querty.el -> querty.el
which is an endless, self-referential loop for querty.el.
W. Trevor King [Thu, 27 Sep 2012 12:45:38 +0000 (08:45 -0400)]
Make relative links optional (add `link --relative`)
`ln -r/--relative` was introduced in 8.16 (2012-03-26), and some
systems I have accounts on have yet to make the upgrade. Because
relative-vs-absolute linking is rarely important, it's better to avoid
relying on an up-to-date `ln`.
W. Trevor King [Thu, 27 Sep 2012 12:03:58 +0000 (08:03 -0400)]
Add `link --force-link` to override old links (e.g. convert to relative).
W. Trevor King [Thu, 27 Sep 2012 11:56:58 +0000 (07:56 -0400)]
Wrap $TARGET in braces in disconnect().
W. Trevor King [Thu, 27 Sep 2012 11:27:37 +0000 (07:27 -0400)]
Use relative rather than absolute links.
This allows a single dotfiles installation to work on NFS-mounted home
directories, even if that home directory is mounted in different
locations on different machines.
W. Trevor King [Mon, 10 Sep 2012 17:26:14 +0000 (13:26 -0400)]
Add COPYING and include copyright blurb in dotfiles.sh (GPLv3+).
W. Trevor King [Wed, 18 Apr 2012 17:14:11 +0000 (13:14 -0400)]
Change my email address from drexel.edu to tremily.us.
W. Trevor King [Wed, 14 Mar 2012 19:51:28 +0000 (15:51 -0400)]
Files can not be repositories during run_on_all_repos().
W. Trevor King [Wed, 14 Mar 2012 18:32:31 +0000 (14:32 -0400)]
Use `elif` instead of `else if` where possible to reduce nesting.
W. Trevor King [Mon, 13 Feb 2012 17:33:52 +0000 (12:33 -0500)]
Add dependency section to the README and update homepage to tremily.
W. Trevor King [Mon, 30 Jan 2012 04:20:47 +0000 (23:20 -0500)]
Use '-p1' instead of '-p0' for patching.
This allows for patches like
--- a/.dir_colors ...
+++ b/.dir_colors ...
which I like better than
--- .dir_colors ...
+++ somewhere-else/.dir_colors ...
W. Trevor King [Tue, 6 Dec 2011 06:26:04 +0000 (01:26 -0500)]
Add homepage URL (a blog post) to README.
W. Trevor King [Thu, 1 Dec 2011 18:28:28 +0000 (13:28 -0500)]
Break out git_fetch and only pull when there is a remote.
W. Trevor King [Thu, 1 Dec 2011 15:05:56 +0000 (10:05 -0500)]
Relax no-associative-array bailout on fetch by assuming Git.
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.
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.
W. Trevor King [Thu, 1 Dec 2011 13:18:21 +0000 (08:18 -0500)]
Give notification before applying local-patch/*.remove.
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.
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.
W. Trevor King [Wed, 30 Nov 2011 20:50:56 +0000 (15:50 -0500)]
Set --work-tree to REPO when running 'git pull'.
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.
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.
W. Trevor King [Wed, 30 Nov 2011 17:31:54 +0000 (12:31 -0500)]
More indentation fixups. I think everything's just tabs now.
W Trevor King [Wed, 30 Nov 2011 15:34:37 +0000 (10:34 -0500)]
Fix 'diff --remove' invocation inside 'diff --local-patch'.
W Trevor King [Wed, 30 Nov 2011 15:30:09 +0000 (10:30 -0500)]
Fix option handling in run_on_all_repos().
W Trevor King [Wed, 30 Nov 2011 15:21:52 +0000 (10:21 -0500)]
More indentation fixups in dotfiles.sh.
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.
W Trevor King [Wed, 30 Nov 2011 15:16:44 +0000 (10:16 -0500)]
Assorted indentation fixups in dotfiles.sh.
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.
W. Trevor King [Tue, 29 Nov 2011 13:39:18 +0000 (08:39 -0500)]
Add .fluxbox/keys.
W. Trevor King [Tue, 29 Nov 2011 13:38:00 +0000 (08:38 -0500)]
Oops, uncomment load-path adjustment in .emacs.
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).
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
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
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
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.
W. Trevor King [Mon, 28 Nov 2011 22:04:43 +0000 (17:04 -0500)]
Split .emacs configuration files into logical blocks.
W. Trevor King [Mon, 28 Nov 2011 21:35:23 +0000 (16:35 -0500)]
Add singingkey to .gitconfig.
W. Trevor King [Mon, 28 Nov 2011 21:34:34 +0000 (16:34 -0500)]
Add ignore_missing_extensions to bazaar.conf.
W. Trevor King [Mon, 28 Nov 2011 21:33:34 +0000 (16:33 -0500)]
Add Mercurial's churn plugin, and use ' =' instead of '='.
W. Trevor King [Mon, 28 Nov 2011 21:32:07 +0000 (16:32 -0500)]
Flesh out .mailcap.
W. Trevor King [Mon, 28 Nov 2011 21:28:22 +0000 (16:28 -0500)]
Move to simpler, fluxbox-only .xinirc.
W. Trevor King [Mon, 28 Nov 2011 21:21:08 +0000 (16:21 -0500)]
Add .XCompose file.
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).
W. Trevor King [Mon, 28 Nov 2011 21:06:26 +0000 (16:06 -0500)]
Assorted changes to .Xmodmap, including the addition of Multi_key.
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.
W. Trevor King [Mon, 28 Nov 2011 15:23:47 +0000 (10:23 -0500)]
Use tabs instead of spaces to indent _gitconfig.
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.
W. Trevor King [Mon, 28 Nov 2011 11:37:01 +0000 (06:37 -0500)]
Correct maintnance -> maintenance typo in README.
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/
W. Trevor King [Wed, 9 Nov 2011 19:10:06 +0000 (14:10 -0500)]
Add ~/.cabal to PATH in _bashrc.
W. Trevor King [Wed, 9 Nov 2011 19:07:49 +0000 (14:07 -0500)]
Add bra and ket comments to _Xmodmap.
W. Trevor King [Sat, 4 Jun 2011 16:18:48 +0000 (12:18 -0400)]
Add _signature (email signature used by Mutt, etc.).
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.
W. Trevor King [Sat, 23 Oct 2010 12:16:16 +0000 (08:16 -0400)]
Adjust _bashrc to drop `screen.` from `screen.*` TERMs (for Ubuntu).
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.
W. Trevor King [Thu, 30 Sep 2010 16:23:10 +0000 (12:23 -0400)]
Add JAVA_HOME to _bashrc.
W. Trevor King [Thu, 30 Sep 2010 16:22:25 +0000 (12:22 -0400)]
Added Ruby (Gems) paths to _bashrc.
W. Trevor King [Thu, 30 Sep 2010 16:18:57 +0000 (12:18 -0400)]
Add assorted useful extensions to _hgrc.
W. Trevor King [Thu, 30 Sep 2010 16:16:57 +0000 (12:16 -0400)]
Typo fixes and Greek -> math unicode replacements in _Xmodmap.
W. Trevor King [Thu, 17 Jun 2010 19:18:03 +0000 (15:18 -0400)]
Automatically adjust PYTHONPATH for locally installed Python version.
W. Trevor King [Sun, 6 Jun 2010 14:44:40 +0000 (10:44 -0400)]
Add more physics symbols to _Xmodmap
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
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.
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.
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
W. Trevor King [Sat, 20 Mar 2010 11:09:19 +0000 (07:09 -0400)]
Added some emoticon-like arabic letters to _Xmodmap
W. Trevor King [Tue, 2 Mar 2010 14:21:22 +0000 (09:21 -0500)]
Remove initial : from PATH in _bashrc
W. Trevor King [Tue, 2 Mar 2010 14:21:02 +0000 (09:21 -0500)]
Enable Firefox when appropriate in _mailcap
W. Trevor King [Fri, 20 Nov 2009 12:44:30 +0000 (07:44 -0500)]
Adjust PATH to put my directories first
W. Trevor King [Tue, 10 Nov 2009 17:55:03 +0000 (12:55 -0500)]
Added superscript zero near subscript zero.
W. Trevor King [Wed, 16 Sep 2009 12:15:11 +0000 (08:15 -0400)]
Typo 'autosoce' -> autosave in _emacs
W. Trevor King [Tue, 4 Aug 2009 16:06:07 +0000 (12:06 -0400)]
w3mh alias to start at my homepage
W. Trevor King [Tue, 4 Aug 2009 16:04:59 +0000 (12:04 -0400)]
Some autogenerated Bazaar configuration?
W. Trevor King [Tue, 14 Jul 2009 13:41:44 +0000 (09:41 -0400)]
Added _bazaar configuration directory
W. Trevor King [Wed, 20 May 2009 16:45:29 +0000 (12:45 -0400)]
Something was complaining about mal-formed mailcap lines...
W. Trevor King [Sun, 18 Jan 2009 15:24:57 +0000 (10:24 -0500)]
Fixed typo in bash completion comment in .bashrc.
W. Trevor King [Sun, 18 Jan 2009 15:16:17 +0000 (10:16 -0500)]
Fix comment for HISTCONTROL in .bashrc
W. Trevor King [Thu, 15 Jan 2009 15:16:35 +0000 (10:16 -0500)]
Begin versioning and syncing .mailcap file.
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.
W. Trevor King [Thu, 15 Jan 2009 15:15:27 +0000 (10:15 -0500)]
Added subscript zero shortcut
W. Trevor King [Thu, 27 Nov 2008 17:35:59 +0000 (12:35 -0500)]
Added a note & link to the beginning of _screenrc.
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.
W. Trevor King [Wed, 26 Nov 2008 19:26:55 +0000 (14:26 -0500)]
Reworked original crummy disconnect script
W. Trevor King [Wed, 26 Nov 2008 19:22:07 +0000 (14:22 -0500)]
Removed old debugging echo from fixup.
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.
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.
W. Trevor King [Wed, 26 Nov 2008 18:08:39 +0000 (13:08 -0500)]
Added update.sh and some small adjustments in _bashrc.
W. Trevor King [Wed, 26 Nov 2008 17:50:37 +0000 (12:50 -0500)]
Oops, forgot to dereference $GIT_PATH. Successful wgets now...
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
W. Trevor King [Wed, 26 Nov 2008 17:55:56 +0000 (12:55 -0500)]
Created README explaining localpatch usage.
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.
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
W. Trevor King [Wed, 26 Nov 2008 17:44:00 +0000 (12:44 -0500)]
Added auto-update to _bashrc. Currently UNTESTED.