W. Trevor King [Tue, 24 Jul 2012 14:08:15 +0000 (10:08 -0400)]
Also detect Gentoo OS via the newer /etc/portage/make.conf location.
W. Trevor King [Tue, 10 Jul 2012 16:03:30 +0000 (12:03 -0400)]
Adjust scanletter alias to use SANE_DEFAULT_DEVICE.
This allows me to easily override the SANE device. This is useful
because subsequent scanner plugins can generate increasing USB device
numbers:
epkowa:interpreter:001:003
epkowa:interpreter:001:004
...
W. Trevor King [Fri, 6 Jul 2012 11:45:36 +0000 (07:45 -0400)]
Add screenshot binding to .fluxbox keys (uses ImageMagick's import).
W. Trevor King [Thu, 7 Jun 2012 18:26:53 +0000 (14:26 -0400)]
Add video/* entry to .mailcap (using mplayer).
W. Trevor King [Tue, 15 May 2012 20:34:44 +0000 (16:34 -0400)]
The default binary name for pqiv 0.11 is `pqiv'.
It used to be `qiv'.
W. Trevor King [Fri, 11 May 2012 14:06:38 +0000 (10:06 -0400)]
Only use xset to turn off beeps if we have it installed.
W. Trevor King [Fri, 11 May 2012 12:14:49 +0000 (08:14 -0400)]
Add .ldaprc to configure LDAP connections with OpenLDAP tools.
W. Trevor King [Thu, 10 May 2012 19:40:57 +0000 (15:40 -0400)]
Add restore option to .pqivrc.
This takes advantage of the option I added with my blog posting:
commit
f62db1b46f655652cfde990c5b03862618ff7932
Author: W. Trevor King <wking@drexel.edu>
Date: Thu Mar 29 22:24:44 2012 -0400
Restructure cache-file.sh, adding the -r option for restoring files.
W. Trevor King [Wed, 18 Apr 2012 16:55:42 +0000 (12:55 -0400)]
Change email from drexel.edu to tremily.us now that I have working MX records.
W. Trevor King [Wed, 18 Apr 2012 16:54:33 +0000 (12:54 -0400)]
Remove w3mh alias (I never use it, and my homepage has moved to tremily.us).
W. Trevor King [Tue, 17 Apr 2012 14:05:48 +0000 (10:05 -0400)]
Fix cc-cmd -> cccmd in .gitconfig sendemail configuration.
W. Trevor King [Tue, 17 Apr 2012 14:03:46 +0000 (10:03 -0400)]
Add wtk_linux.el based on suggestions in linux/Documentation/CodingStyle.
W. Trevor King [Mon, 9 Apr 2012 19:37:51 +0000 (15:37 -0400)]
Add LEFT RIGHT ARROW to .XCompose.
W. Trevor King [Mon, 9 Apr 2012 19:36:45 +0000 (15:36 -0400)]
Add missing less than to .XCompose for ALMOST EQUAL TO and IDENTICAL TO.
W. Trevor King [Mon, 9 Apr 2012 19:22:02 +0000 (15:22 -0400)]
Replace NOT symbol with MINUS SIGN in .Xmodmap.
W. Trevor King [Sat, 7 Apr 2012 01:46:46 +0000 (21:46 -0400)]
Add web.cacerts config to .hgrc (path for Debian/Ubuntu/Gentoo/Arch Linux).
W. Trevor King [Mon, 2 Apr 2012 13:54:59 +0000 (09:54 -0400)]
Flesh out latin letter superscripts and subscripts in .XCompose.
W. Trevor King [Fri, 30 Mar 2012 01:34:55 +0000 (21:34 -0400)]
Add pqiv configuration file.
Rules 1 and 2 are for sorting pictures.
Rules 3, 4, and 5 are for sorting unfolding curves.
W. Trevor King [Tue, 27 Mar 2012 19:20:29 +0000 (15:20 -0400)]
Add `git send-email` configs to .gitconfig.
W. Trevor King [Mon, 20 Feb 2012 20:58:05 +0000 (15:58 -0500)]
Unset `x` (used when setting up GDFONTPATH) in .bashrc.d/05local_paths.
W. Trevor King [Mon, 13 Feb 2012 18:36:11 +0000 (13:36 -0500)]
Remove alias configuration from src/.bashrc.d/15prompt_dircolors.
It should be consolidated to src/.bashrc.d/10aliases, at least for
aliases defined by this repository. The aliases previously defined
here were messing up my grep on SunOS 5.10, where `grep --color` is
not supported.
W. Trevor King [Mon, 13 Feb 2012 18:27:49 +0000 (13:27 -0500)]
Add SunOS 5.10 workarounds to .bashrc.d/10aliases.
Also change this file to tabs intentation.
W. Trevor King [Mon, 13 Feb 2012 18:12:09 +0000 (13:12 -0500)]
Add SunOS entry to .bashrc.d/01detect_system (assumes /etc/motd is unchanged).
W. Trevor King [Mon, 13 Feb 2012 17:11:53 +0000 (12:11 -0500)]
Only modify GDFONTPATH if /usr/share/fonts/ exists in .bashrc.d/05local_paths.
For example, my university's SunOS 5.10 machine doesn't have this
directory.
W. Trevor King [Sun, 5 Feb 2012 15:01:46 +0000 (10:01 -0500)]
Add scanletter alias to .bashrc.d/10aliases.
This makes it easy for me to scan letter-size pages:
$ scanletter > scan.tiff
It's based on `scanimage` (media-gfx/sane-backends) on Gentoo, which
uses the epson2 sane backend and the iscan gt f720 plugin for my Epson
V300. To emerge on Gentoo, add
SANE_BACKENDS="epson2"
to your `/etc/make.conf`, and emerge `media-gfx/xsane` and
`media-gfx/iscan-plugin-gt-f720`. You may not need all of xsane for
this alias, but it's nice to have for scanning strangely shaped
objects.
W. Trevor King [Sun, 5 Feb 2012 14:53:43 +0000 (09:53 -0500)]
Remove unused graph alias (I use gnuplot or matplotlib).
W. Trevor King [Sun, 5 Feb 2012 14:52:46 +0000 (09:52 -0500)]
Definately don't use acroread. Get rid of that alias.
W. Trevor King [Sun, 5 Feb 2012 14:47:43 +0000 (09:47 -0500)]
I use r2e (rss2email) to follow RSS feeds, so get rid of snownews alias.
W. Trevor King [Thu, 2 Feb 2012 17:50:38 +0000 (12:50 -0500)]
Reorganize fluxbox keys.
`Mod1 F*` was killing me. I'd try to change workspaces (`Control F*`)
and use `Mod1` by mistake, killing my current application. Now I've
put those commands over with the other Mod4 window manipulations that
I use more often.
I also put the `conky` toggle with my other application-related keys.
W. Trevor King [Wed, 1 Feb 2012 00:26:01 +0000 (19:26 -0500)]
Oops, *append* my local man path to MANPATH instead of clobbering the original
W. Trevor King [Tue, 31 Jan 2012 19:50:58 +0000 (14:50 -0500)]
Add section symbol (§) to .XCompose.
W. Trevor King [Mon, 30 Jan 2012 04:17:33 +0000 (23:17 -0500)]
Use a/ and b/ in local-patch.examples.
W. Trevor King [Sun, 29 Jan 2012 00:06:21 +0000 (19:06 -0500)]
While I'm at it, add compose keys for ℑ and ℜ.
W. Trevor King [Sat, 28 Jan 2012 23:57:14 +0000 (18:57 -0500)]
Add subscript i and r to .XCompose.
I use them as shorthand for marking the real and imaginary parts of
numbers, since sometimes ℜ (U211C) and ℑ (U2111) are a bit much.
W. Trevor King [Sun, 22 Jan 2012 08:40:37 +0000 (03:40 -0500)]
Downgrade .astylerc from v2.02 to v1.22.
I'd written .astylerc using the v2.02 documentation, but my system
only packages v1.22 as stable.
W. Trevor King [Sun, 22 Jan 2012 08:37:11 +0000 (03:37 -0500)]
Add .astylerc configuring the Artistic Style C/C++/C#/Java formatter.
W. Trevor King [Sun, 22 Jan 2012 07:57:22 +0000 (02:57 -0500)]
Add .indent.pro configuring GNU indent to use the Linux coding style.
I've added the long form of each option in comments to make it easier
for me to read off the coding style. I've left the short form of each
option in to make it easier to track the `Linux coding style`
suggestion in `indent(1L)`.
W. Trevor King [Mon, 9 Jan 2012 11:37:28 +0000 (06:37 -0500)]
Remove ssh* shortcuts and add pythonhttp to .bashrc.d/10aliases.
W. Trevor King [Mon, 19 Dec 2011 02:34:58 +0000 (21:34 -0500)]
Add `which calendar` test to calendar call in .bash_profile.
W. Trevor King [Thu, 8 Dec 2011 19:23:15 +0000 (14:23 -0500)]
Change home page from physics.drexel.edu to tremily.us in .XCompose.
W. Trevor King [Thu, 8 Dec 2011 17:26:34 +0000 (12:26 -0500)]
Clean up .bashrc.d/05local_paths and move towards ~/.local/*
W. Trevor King [Tue, 6 Dec 2011 06:10:36 +0000 (01:10 -0500)]
Fix dotfiles blog link in README.
W. Trevor King [Tue, 6 Dec 2011 05:45:58 +0000 (00:45 -0500)]
Use add-to-list to setup emacs load path and move .emacs.d/load to .emacs.d/site-lisp.
W. Trevor King [Tue, 6 Dec 2011 05:41:33 +0000 (00:41 -0500)]
Update 005-no-emacs-epa.patch fuzz with wtk_ansi-color load line.
W. Trevor King [Tue, 6 Dec 2011 05:30:10 +0000 (00:30 -0500)]
Add wtk_ansi-color.el to .emacs (*.col support).
W. Trevor King [Mon, 5 Dec 2011 15:48:33 +0000 (10:48 -0500)]
Use Control+Mod1+l to lock screen in .fluxbox/keys.
This avoids colliding with my "move left" bindings.
W. Trevor King [Fri, 2 Dec 2011 11:40:18 +0000 (06:40 -0500)]
Remove annoying xterm and fbrun key bindings from default section of .fluxbox/keys.
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.
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.
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.
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).
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.
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.
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.
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.
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.
W. Trevor King [Thu, 1 Dec 2011 11:59:00 +0000 (06:59 -0500)]
Add .bashrc.d/05histappend from Gentoo's /etc/bash/bashrc.
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.
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.
W. Trevor King [Wed, 30 Nov 2011 17:23:23 +0000 (12:23 -0500)]
Add /usr/sbin and /sbin to PATH in .bash_profile.
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.
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.
W. Trevor King [Tue, 29 Nov 2011 23:08:40 +0000 (18:08 -0500)]
Strip out dotfiles framework (it's now a standalone package).
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