profile.git
15 years agoFix setting paths on old bash.
Iain Patterson [Fri, 18 Sep 2009 15:04:14 +0000 (16:04 +0100)]
Fix setting paths on old bash.

Prevent bash 2 from segfaulting when considering directories in
PATH.bashrc.

15 years agoEnvironment overhaul.
Iain Patterson [Fri, 18 Sep 2009 12:16:54 +0000 (13:16 +0100)]
Environment overhaul.

Store XXXdirs files in ~/.PATH and add subdirectories for SYSTEM and
ARCHITECTURE under there.
Remove duplicate entries from paths set in PATH.bashrc.
Also read XXXdirs.pre and XXXdirs.post.
.pre entries are guaranteed to come before whatever was already defined
or is defined with XXXdirs.
.post entries are guaranteed to be present but may not necessarily be
last if they were already defined.

Add paths under opt to default XXXdirs.pre files.
Add /lib to libdirs.post on Solaris as the Solaris linker uses the value
of LD_LIBRARY_PATH to override system defaults.

15 years agoDon't use SCREENDIR under sudo.
Iain Patterson [Tue, 15 Sep 2009 12:59:34 +0000 (13:59 +0100)]
Don't use SCREENDIR under sudo.

If SCREENDIR is set and we sudo the directory will probably be
unusable.  Unset it if SUDO_USER is defined.

15 years agoDon't resize urxvt to zero-size.
Iain Patterson [Tue, 1 Sep 2009 15:08:57 +0000 (16:08 +0100)]
Don't resize urxvt to zero-size.

15 years agoDetect old bash which can't do completion.
Iain Patterson [Tue, 1 Sep 2009 10:56:55 +0000 (11:56 +0100)]
Detect old bash which can't do completion.

15 years agoFind urxvt extensions from sshterm.
Iain Patterson [Fri, 28 Aug 2009 13:07:51 +0000 (14:07 +0100)]
Find urxvt extensions from sshterm.

Change to $HOME before launching sshterm.

XXX: This might break stuff as we previously changed to root to
avoid holding unnecessary NFS handles.

15 years agoBufExplorer options.
Iain Patterson [Wed, 26 Aug 2009 10:03:27 +0000 (11:03 +0100)]
BufExplorer options.

Default options and highlighting for the BufExplorer plugin.

15 years agoAdded -t flag to sshcolourterm.
Iain Patterson [Wed, 26 Aug 2009 10:02:26 +0000 (11:02 +0100)]
Added -t flag to sshcolourterm.

Use -t to set the initial title of the terminal window.

15 years agoCheck for broken KRB5CCNAME.
Iain Patterson [Fri, 21 Aug 2009 14:14:24 +0000 (15:14 +0100)]
Check for broken KRB5CCNAME.

15 years agoPerl extension to massage selections from Vim.
Iain Patterson [Thu, 27 Aug 2009 12:02:40 +0000 (13:02 +0100)]
Perl extension to massage selections from Vim.

Try to strip off marks and numbers from the start of a selection made
within urxvt.
It's a bit hacky and assumes that Vim will resize the terminal when
displaying marks and numbers.

15 years agoProper urxvt resizing.
Iain Patterson [Thu, 27 Aug 2009 10:51:01 +0000 (11:51 +0100)]
Proper urxvt resizing.

Use Perl extension to dynamically change fontsets.
Note that because we can't put variables into the URxvt.perl-lib
resource we assume that urxvt is run from the home directory and can
thus find .urxvt in there.

15 years agoUse :silent instead of :try..:catch..:endtry.
Iain Patterson [Thu, 27 Aug 2009 09:38:45 +0000 (10:38 +0100)]
Use :silent instead of :try..:catch..:endtry.

Some early Vim 6 builds don't have :try..:endtry and since we weren't
doing anything useful with the :catch it's easier to use :silent.

15 years agoWindow resizing fixes.
Iain Patterson [Fri, 21 Aug 2009 14:09:30 +0000 (15:09 +0100)]
Window resizing fixes.

Fixed not shrinking the window when list was toggled off.
Use some trickery to avoid using winnr() on Vim 6.

15 years agoMore display stuff.
Iain Patterson [Fri, 14 Aug 2009 13:26:37 +0000 (14:26 +0100)]
More display stuff.

Unicode alternative for caret sign.

Made Highlight_StatusLine() compatible with Vim 5.
There's still no point calling it with anything less than Vim 7.
Use User1 highlighting to emphasise filename, line and column.

15 years agoNetgroups.
Iain Patterson [Tue, 4 Aug 2009 13:41:53 +0000 (14:41 +0100)]
Netgroups.

Added netgroups.c since the netgroups binary is needed by sshcolourterm.
Be quiet checking netgroups in sshcolourterm.  This allows, for example,
hacking sshcolourterm for an SGE terminal viz:

    env SSHTERM_SSH=qrsh sshterm

15 years agoVarious vim fixes.
Iain Patterson [Thu, 9 Jul 2009 10:31:38 +0000 (11:31 +0100)]
Various vim fixes.

Change some mappings which conflict with plugins.

Unicode in Show_List().

When a new buffer was created BufEnter called Highlight_Signs() which
called Uncluttered_Buffer().  Most of the tests in that function don't
apply until the buffer is completely set up so move the initial call to
Highlight_Signs() to BufReadPost.

Show version in verbose statusline.

Added Extra_Columns() function to determine if column resizing is necessary.
Use it after setting listchars.

Fold up functions.

Use Prep_Sign() to shorten Prep_Signs().
Use Prep_Var() to shorten Iain_Vars().

15 years agoCompview plugin.
Iain Patterson [Wed, 29 Jul 2009 13:54:25 +0000 (14:54 +0100)]
Compview plugin.

15 years agoGrow a column when setting full list mode.
Iain Patterson [Fri, 7 Aug 2009 18:22:17 +0000 (19:22 +0100)]
Grow a column when setting full list mode.

Allow room for when listchars includes eol.

15 years agoUnicode stuff.
Iain Patterson [Fri, 7 Aug 2009 18:08:21 +0000 (19:08 +0100)]
Unicode stuff.

Force UTF-8 on Windows.
Move Unicode availability test to Has_Unicode() function.
Show Unicode signs where possible.

15 years agoFix Vim runtime path when becoming another user.
Iain Patterson [Wed, 5 Aug 2009 10:52:53 +0000 (11:52 +0100)]
Fix Vim runtime path when becoming another user.

15 years agoVim 5 compatibility.
Iain Patterson [Tue, 4 Aug 2009 10:41:03 +0000 (11:41 +0100)]
Vim 5 compatibility.

Vim 5 doesn't have printf() or v:servername.

15 years agoSwap jump keys.
Iain Patterson [Wed, 29 Jul 2009 13:11:32 +0000 (14:11 +0100)]
Swap jump keys.

15 years agoVCSCommand plugins.
Iain Patterson [Thu, 9 Jul 2009 10:42:35 +0000 (11:42 +0100)]
VCSCommand plugins.

15 years agoScript to become another user.
Iain Patterson [Thu, 16 Jul 2009 09:55:55 +0000 (10:55 +0100)]
Script to become another user.

Set per-user initialisation in ~/.become/<user>.

15 years agoCJK font support.
Iain Patterson [Tue, 4 Aug 2009 12:39:47 +0000 (13:39 +0100)]
CJK font support.

15 years agocolordiff.
Iain Patterson [Tue, 4 Aug 2009 14:54:40 +0000 (15:54 +0100)]
colordiff.

15 years agoConsistent screen caption on different terminals.
Iain Patterson [Thu, 23 Jul 2009 16:54:45 +0000 (17:54 +0100)]
Consistent screen caption on different terminals.

The inactive caption line didn't look the same in xterm and PuTTY as it
did in rxvt-unicode.  Instead of using bold and reverse for the black on
white text we now explicitly set white on high-intensity black.  The
result unchanged in rxvt-unicode and now looks the same in other
terminals.
PuTTY needs an explicit C8 termcapinfo to use bold for high-intensity.

15 years agoBufExplorer plugin.
Iain Patterson [Fri, 24 Jul 2009 16:54:07 +0000 (17:54 +0100)]
BufExplorer plugin.

15 years agoVim options.
Iain Patterson [Wed, 22 Jul 2009 09:31:12 +0000 (10:31 +0100)]
Vim options.

Added smarttab option.
Use hex mode for ^A/^X.  Numbers with leading zeros are interpreted as
octals by default.  Usually this is the wrong thing.  Setting hex mode
works most of the time.
Don't jump to the start of the line when using H, L etc.
Use UTF-8 listchars.  [git://github.com/graywh/dotfiles.git]

15 years agoFixed diff colours.
Iain Patterson [Wed, 22 Jul 2009 09:31:02 +0000 (10:31 +0100)]
Fixed diff colours.

Diffs could clash with the underlying syntax.

15 years agoMore signs.
Iain Patterson [Thu, 9 Jul 2009 09:19:34 +0000 (10:19 +0100)]
More signs.

Highlight the (, ), { and } marks.
Highlight the ^ mark in red.

15 years agoSet diff mode columns sensibly.
Iain Patterson [Thu, 9 Jul 2009 14:25:11 +0000 (15:25 +0100)]
Set diff mode columns sensibly.

15 years agoAdded ts script.
Iain Patterson [Tue, 14 Jul 2009 09:28:59 +0000 (10:28 +0100)]
Added ts script.

Script to show files modified today.  (t)oday l(s): ts.

15 years agoWindows compatibility.
Iain Patterson [Thu, 9 Jul 2009 15:14:04 +0000 (16:14 +0100)]
Windows compatibility.

Handle the case where HOME contains spaces, eg on NT 5.
Force the Vim runtime path to contain ~/.vim.

15 years agoHandle uncluttered buffers.
Iain Patterson [Fri, 26 Jun 2009 16:58:37 +0000 (17:58 +0100)]
Handle uncluttered buffers.

Don't set signs and numbers if Uncluttered_Buffer() returns true.
A buffer is uncluttered if the uncluttered_buffer variable is true.
A buffer is uncluttered if buftype is non-null.
A buffer is uncluttered if its filetype is svn, perforce or gitcommit.

15 years agoVim fixes.
Iain Patterson [Wed, 8 Jul 2009 14:57:55 +0000 (15:57 +0100)]
Vim fixes.

Don't set mouse options if we can't get the X11 clipboard.
Don't set the toolbar in gvim.
Ensure we call Startup_Resize() AFTER signs and numbers have been set.
Scope fix in TabModified().

15 years agoColour tweaks.
Iain Patterson [Wed, 8 Jul 2009 14:52:52 +0000 (15:52 +0100)]
Colour tweaks.

Added colours for NERD_tree.
256-colour LineNr and friends were too dark.
StatusLine and StatusLineNC weren't consistent.
Moved MatchParen highlighting into the colourscheme.

15 years agoUse -bg for background colour.
Iain Patterson [Wed, 8 Jul 2009 14:42:35 +0000 (15:42 +0100)]
Use -bg for background colour.

Launch terminal with the correct background colour using the -bg option.
Force a black internal border for urxvt so that different coloured
terminals don't look weird with Vim marks and numbers.

15 years agoVim 5 compatibility
Iain Patterson [Tue, 7 Jul 2009 13:32:36 +0000 (14:32 +0100)]
Vim 5 compatibility

Vim 5 doesn't recognise the <SID> prefix for functions or the += syntax
for variable assignment.  It also doesn't recognise variables in the
global scope without an explicit g: prefix.
Rewrite Startup_Resize() and Resize_Columns() with the above in mind.

15 years agoDetect en_GB.utf8 locale.
Iain Patterson [Wed, 1 Jul 2009 15:21:25 +0000 (16:21 +0100)]
Detect en_GB.utf8 locale.

15 years agoFeature tidyup.
Iain Patterson [Sun, 28 Jun 2009 14:36:27 +0000 (15:36 +0100)]
Feature tidyup.

Check for the signs feature before trying to use sign-related functions.
Batch up startup resize operations to avoid racing with screen.

15 years agoColour tidyup.
Iain Patterson [Sun, 28 Jun 2009 14:24:59 +0000 (15:24 +0100)]
Colour tidyup.

Use iain scheme even in gvim.
Use a darker background for gvim.
Use darker background for LineNr and folds.
Highlight StatusLine in a sensible way.

15 years agoShow various marks in the left margin.
Iain Patterson [Fri, 26 Jun 2009 13:32:48 +0000 (14:32 +0100)]
Show various marks in the left margin.

Use signs to highlight the location of the following marks (see help on
'x for information on mark x): a-f A-F .  ' " ^ < > [ ]
Toggle marks with \m.
Update marks when entering/leaving insert mode and when CursorHold is
triggered.  Trigger CursorHold after 500ms to reduce lag.
Show marks and numbers by default.  Set terminal mouse mode to allow
copying text from Vim to work as expected with the left margin showing
stuff.
Make sure the window isn't resized every time .vimrc is sourced.
Split autocommands into groups to help keep track of all this stuff..

15 years agoUse consistent colours.
Iain Patterson [Fri, 26 Jun 2009 11:50:29 +0000 (12:50 +0100)]
Use consistent colours.

Use the same grey in VertSplit as in StatusLineNC.
Use a green Cursor.

15 years agoResize windows inside screen.
Iain Patterson [Tue, 23 Jun 2009 10:39:19 +0000 (11:39 +0100)]
Resize windows inside screen.

15 years agoHighlight readonly buffers.
Iain Patterson [Thu, 18 Jun 2009 10:31:49 +0000 (11:31 +0100)]
Highlight readonly buffers.

Abstract colours of the statusline and show a red statusline when trying
to edit a buffer with &ro set.

15 years agoNERD_tree plugin.
Iain Patterson [Fri, 26 Jun 2009 12:07:45 +0000 (13:07 +0100)]
NERD_tree plugin.

15 years agoLatest attempt to fix commit diffs.
Iain Patterson [Tue, 16 Jun 2009 11:09:38 +0000 (12:09 +0100)]
Latest attempt to fix commit diffs.

15 years agoRegression.
Iain Patterson [Wed, 10 Jun 2009 15:47:29 +0000 (16:47 +0100)]
Regression.

Fixed p4 diff breaking as a result of the directory change.

15 years agoPerforce and SVN Vim script fixes.
Iain Patterson [Wed, 10 Jun 2009 13:27:10 +0000 (14:27 +0100)]
Perforce and SVN Vim script fixes.

Check for existence of p4 script before setting $P4EDITOR.
Work around weird bug whereby calling "file [p4 diff]" when in a
directory with a subdirectory called ``d'' would confuse Vim.
Removed old debugging code which shouldn't have been still there.

15 years agopumheight was introduced in Vim 7.
Iain Patterson [Wed, 10 Jun 2009 10:29:42 +0000 (11:29 +0100)]
pumheight was introduced in Vim 7.

15 years agoVim completion stuff.
Iain Patterson [Wed, 10 Jun 2009 10:11:34 +0000 (11:11 +0100)]
Vim completion stuff.

Use ^B to search backward when completing.  ^P conflicts with screen.
Use ^L to show matching completions but don't select one.
Limit the size of the popup menu.
Set popup menu colour.

15 years agoMore git aliases.
Iain Patterson [Wed, 10 Jun 2009 10:09:04 +0000 (11:09 +0100)]
More git aliases.

Alias git amend to ``git commit --amend''.
Alias git alias to show aliases.

15 years agoAdded git graph alias.
Iain Patterson [Mon, 8 Jun 2009 09:18:36 +0000 (10:18 +0100)]
Added git graph alias.

Aliased to ``git log --graph --pretty=oneline''.

15 years agoFix hang when checking for .svn directory.
Iain Patterson [Mon, 1 Jun 2009 12:23:25 +0000 (13:23 +0100)]
Fix hang when checking for .svn directory.

If the parent directory is not executable __svn_dir() will not be able
to change to it and will hang.  Prevent this by returning failure if the
working directory isn't executable.

15 years agoComment for SVN prompt colour.
Iain Patterson [Wed, 27 May 2009 13:30:57 +0000 (14:30 +0100)]
Comment for SVN prompt colour.

15 years agoInclude SVN prompt.
Iain Patterson [Fri, 22 May 2009 15:59:34 +0000 (16:59 +0100)]
Include SVN prompt.

Allow toggling SVN prompt with prompt hide|show svn.
Specify depth for svn status with SVN_PS1_DEPTH.

15 years agoBack compatibility.
Iain Patterson [Thu, 21 May 2009 14:16:29 +0000 (15:16 +0100)]
Back compatibility.

Tab line functions were enclosed in a conditional block for version >=
"700" as they are not available before Vim 7.  Earlier versions still
parse them, however.  Vim 6 was reading the functions in, barfing on the
:for/:endfor blocks and spitting out an error about :return not inside a
function later on.

For Vim 6 the return WASN'T inside a function because the function
wasn't defined.

As a workaround all :for/:endfor blocks have been replaced with
:while/:endwhile blocks.  Vim 6 is now happy.

15 years agoTab bar.
Iain Patterson [Tue, 19 May 2009 13:22:20 +0000 (14:22 +0100)]
Tab bar.

15 years agoWindow tweaks for screen.
Iain Patterson [Thu, 14 May 2009 15:22:40 +0000 (16:22 +0100)]
Window tweaks for screen.

Bind digraph to ^K.
Bind fit to _.
Bind windowlist to = and colour the window list.

15 years agoExplicitly store user name in .gitconfig for sudo.
Iain Patterson [Thu, 14 May 2009 10:31:58 +0000 (11:31 +0100)]
Explicitly store user name in .gitconfig for sudo.

15 years agoUse green for gitconfig prompt.
Iain Patterson [Thu, 14 May 2009 10:28:31 +0000 (11:28 +0100)]
Use green for gitconfig prompt.

Although cyan looks better it can be difficult to spot against added
lines in the diff.

15 years agoResize fixes.
Iain Patterson [Thu, 14 May 2009 10:26:41 +0000 (11:26 +0100)]
Resize fixes.

The numberwidth variable is only available in Vim 7.  We had thought it
was available in Vim 6.
The winnr() function used to check whether any windows have &number on
is present in Vim 7.  Disable window resizing if the function isn't
available.

15 years agoHighlight background of line numbers.
Iain Patterson [Mon, 11 May 2009 13:14:13 +0000 (14:14 +0100)]
Highlight background of line numbers.

15 years agoWorking dynamic window resizing in number mode.
Iain Patterson [Fri, 1 May 2009 16:41:29 +0000 (17:41 +0100)]
Working dynamic window resizing in number mode.

Detect if any window uses number and expand if necessary.
Shrink again when no window has it set.

15 years agoUse find_working to prepare aliases.
Iain Patterson [Fri, 24 Apr 2009 16:49:41 +0000 (17:49 +0100)]
Use find_working to prepare aliases.

The find_working script will find a usable program somewhere in the PATH.

15 years agoSeparate aliases and variables.
Iain Patterson [Thu, 23 Apr 2009 21:13:15 +0000 (22:13 +0100)]
Separate aliases and variables.

Moved grep, ls and screen aliases and variables into their own files.
These are grep.bashrc, ls.bashrc and screen.bashrc.

15 years agoMore git colours.
Iain Patterson [Thu, 23 Apr 2009 21:11:50 +0000 (22:11 +0100)]
More git colours.

Use cyan for interactive prompts as blue is too hard to read.
Use green for interactive headers.

15 years agoBrought get_remote_ip into version control.
Iain Patterson [Thu, 23 Apr 2009 21:09:53 +0000 (22:09 +0100)]
Brought get_remote_ip into version control.

Use get_remote_ip to find the address of an ssh client.
Use get_remote_ip -n to report the remote hostname if
available.

15 years agoGeneric handling of SSH_FORWARDED overrides.
Iain Patterson [Wed, 22 Apr 2009 18:39:01 +0000 (14:39 -0400)]
Generic handling of SSH_FORWARDED overrides.

Check if the remote IP address matches a regular expression from
~/.ssh/forwarded and append " (from <hostname>)" to the PROMPT_COMMAND
only if not.

15 years agoScreen fixes.
Iain Patterson [Wed, 22 Apr 2009 15:02:56 +0000 (16:02 +0100)]
Screen fixes.

Don't break old Solaris with PROMPT_COMMAND inside screen.
Don't accidentally send xoff.

15 years agoPS1 overhaul.
Iain Patterson [Wed, 22 Apr 2009 15:00:52 +0000 (16:00 +0100)]
PS1 overhaul.

Include Git and Perforce prompt information but disable them by default.
Allow toggling user@host prompt with prompt hide|show user.
Allow toggling Git prompt with prompt hide|show git.
Allow toggling Perforce prompt with prompt hide|show p4.

15 years agoGit colours.
Iain Patterson [Mon, 20 Apr 2009 22:27:22 +0000 (23:27 +0100)]
Git colours.

Use colour where appropriate.
Choose diff colours which match vim.

15 years agoCross merge with CSR.
Iain Patterson [Sat, 18 Apr 2009 09:12:13 +0000 (10:12 +0100)]
Cross merge with CSR.

15 years agoGitify the working tree.
Iain Patterson [Fri, 17 Apr 2009 22:16:29 +0000 (23:16 +0100)]
Gitify the working tree.

Removed Subversion Id tags.
Moved scripts to opt/bin.
Moved source to src.

15 years agoUse h and l previous and next windows.
Iain Patterson [Fri, 17 Apr 2009 17:01:41 +0000 (17:01 +0000)]
Use h and l previous and next windows.
Use v and V for hardstatus toggle.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@187 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSmarter krb5 cache initialisation.
Iain Patterson [Fri, 17 Apr 2009 10:19:03 +0000 (10:19 +0000)]
Smarter krb5 cache initialisation.
If we don't have valid credentials but there are some useful credentials
somewhere then copy those credentials into our cache.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@186 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse a different escape sequence for magenta.
Iain Patterson [Mon, 30 Mar 2009 12:05:43 +0000 (12:05 +0000)]
Use a different escape sequence for magenta.
Terminal.app (which only supports 16 colours) running screen in 256-colour mode renders colours 88 and 89 as red.  Use colour 90 for magenta.  Terminals with real 256-colour functionality show only a subtle difference between the two colours.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@185 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't set extended termcapinfo for xterm; only for xterm-*.
Iain Patterson [Sat, 28 Mar 2009 10:04:27 +0000 (10:04 +0000)]
Don't set extended termcapinfo for xterm; only for xterm-*.
Correct caption comments.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@184 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoGit configuration.
Iain Patterson [Tue, 17 Mar 2009 15:41:23 +0000 (15:41 +0000)]
Git configuration.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@183 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoYet another hardstatus tweak.
Iain Patterson [Tue, 17 Mar 2009 15:41:04 +0000 (15:41 +0000)]
Yet another hardstatus tweak.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@182 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoLook for screen quietly.
Iain Patterson [Wed, 4 Mar 2009 11:49:13 +0000 (11:49 +0000)]
Look for screen quietly.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@181 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoFixed krenew for screen.
Iain Patterson [Fri, 27 Feb 2009 15:15:29 +0000 (15:15 +0000)]
Fixed krenew for screen.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@180 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't override SCREENDIR when screen is setuid.
Iain Patterson [Fri, 27 Feb 2009 12:13:37 +0000 (12:13 +0000)]
Don't override SCREENDIR when screen is setuid.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@179 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoHandle locale a bit (but not much) more sensibly.
Iain Patterson [Wed, 25 Feb 2009 13:52:08 +0000 (13:52 +0000)]
Handle locale a bit (but not much) more sensibly.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@178 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoRemoved erroneous TERM export from variables.bashrc.
Iain Patterson [Thu, 19 Feb 2009 17:36:18 +0000 (17:36 +0000)]
Removed erroneous TERM export from variables.bashrc.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@177 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSwapped Insert and Insert/Held statusline colours.
Iain Patterson [Thu, 19 Feb 2009 17:29:29 +0000 (17:29 +0000)]
Swapped Insert and Insert/Held statusline colours.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@176 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse bigscreen and krenew.
Iain Patterson [Thu, 19 Feb 2009 17:26:34 +0000 (17:26 +0000)]
Use bigscreen and krenew.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@175 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSet MacVim transparency.
Iain Patterson [Sun, 1 Feb 2009 15:36:54 +0000 (15:36 +0000)]
Set MacVim transparency.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@174 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't use PROMPT_COMMAND on dtterm.
Iain Patterson [Fri, 23 Jan 2009 17:10:12 +0000 (17:10 +0000)]
Don't use PROMPT_COMMAND on dtterm.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@173 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSome fields were being deleted erroneously.
Iain Patterson [Fri, 16 Jan 2009 17:35:48 +0000 (17:35 +0000)]
Some fields were being deleted erroneously.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@172 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSet Perforce filetype when submitting.
Iain Patterson [Thu, 15 Jan 2009 14:58:11 +0000 (14:58 +0000)]
Set Perforce filetype when submitting.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@171 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoLess cluttered titlestring.
Iain Patterson [Thu, 15 Jan 2009 14:57:40 +0000 (14:57 +0000)]
Less cluttered titlestring.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@170 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded krb5.bashrc.
Iain Patterson [Wed, 7 Jan 2009 11:58:32 +0000 (11:58 +0000)]
Added krb5.bashrc.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@169 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDarker statusline for the non-active window.
Iain Patterson [Sat, 20 Dec 2008 15:41:59 +0000 (15:41 +0000)]
Darker statusline for the non-active window.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@168 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse a darker shade of blue for listchars characters.
Iain Patterson [Mon, 15 Dec 2008 16:27:55 +0000 (16:27 +0000)]
Use a darker shade of blue for listchars characters.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@167 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse ESC-backslash sequence to close PROMPT_COMMAND so as not to cause a virtual conso...
Iain Patterson [Thu, 11 Dec 2008 17:38:49 +0000 (17:38 +0000)]
Use ESC-backslash sequence to close PROMPT_COMMAND so as not to cause a virtual console to beep.
Use octal escape for backslash in ESC-backslash to avoid the shell eating it and messing up the following carriage return.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@166 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoActually blank the line after emitting our title in prompt command, instead of trying...
Iain Patterson [Wed, 10 Dec 2008 18:00:07 +0000 (18:00 +0000)]
Actually blank the line after emitting our title in prompt command, instead of trying to hackily overwrite what we'd already printed.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@165 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoNumeric terminfo entries for OS X.
Iain Patterson [Tue, 9 Dec 2008 10:23:02 +0000 (10:23 +0000)]
Numeric terminfo entries for OS X.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@164 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDifferent prompt colours according to the number of supported colours.
Iain Patterson [Fri, 5 Dec 2008 13:18:51 +0000 (13:18 +0000)]
Different prompt colours according to the number of supported colours.
No longer allow user override of prompt colours.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@163 6be0d1a5-5cfe-0310-89b6-964be062b18b