Removed Subversion Id tags.
Moved scripts to opt/bin.
Moved source to src.
-# $Id$
if $(tty -s) || [ "${0:0:1}" = "-" ]; then
# Remember if nocaseglob was on.
shopt -q nocaseglob
-# $Id$
if $(tty -s); then
. /etc/profile
. ~/.bash_profile
-# $Id$
-
$include /etc/inputrc
set editing-mode vi
-# $Id$
SYSTEM=$(uname -s)
KERNEL=$(uname -r)
ARCHITECTURE=$(uname -m)
-# $Id$
-#
# Path information is stored on separate lines in XXXdirs.
# We extract each directory exists and add it to the appropriate PATH.
#
-# $Id$
export TERMINFO=~/.terminfo
-# $Id$
grep -V 2>/dev/null | grep GNU >/dev/null && alias grep='grep --color=auto'
alias knh='kill_known_host'
alias l='ls'
-# $Id$
#export HISTCONTROL=ignoredups
export HISTTIMEFORMAT='[%Y-%m-%d %H:%M:%S] '
export HISTFILESIZE=3000
-# $Id$
# Helper!
export COMPLETION_DIR_SSH=~/.ssh/hosts
export COMPLETION_DIR_TELNET=~/.telnet/hosts
-# $Id$
alias kssh='ssh -o preferredauthentications=gssapi-with-mic'
alias pssh='ssh -o preferredauthentications=password,keyboard-interactive'
-# $Id$
-
unset LANG LC_ALL
for locale in en_GB.UTF-8 en_GB; do
-# $Id$
-#
# Use vim for manpages and infopages.
# Requires vim 5+ and info.vim plugin.
#
-# $Id$
-#
# Bash variables and options.
# Some of these are (now) the default but listed for completeness.
#
-# $Id$
if [ ! -z "$SUDO_USER" ]; then
export P4USER=$SUDO_USER
export P4TICKETS=/tmp/.p4tickets.$SUDO_USER
-# $Id$
-#
# Set the title of an xterm to the hostname.
#
-# $Id$
# Read proxy information from Subversion if possible.
servers=~/.subversion/servers
-# $Id$
-#
# Coloured prompts for bash.
#
# Prompt is user@host:/dir$ where host is highlighted in green if the last
-# $Id$
-
SOCKET=~/.ssh/agent
function get_agent_pid() {
-# $Id$
export SSHTERM=urxvtc
export SSHTERM_TITLE=-title
export SSHTERM_EXEC=-e
-# $Id$
-
# Use Control-P instead of Control-A for stuff.
escape ^pp
-# $Id$
-
[helpers]
editor-cmd = vim -S $HOME/.vim/script/svn
-# $Id$
-
# Similar prompt to bash but with a % to distinguish between shells.
set prompt='%n@%m:%~% '
-" $Id$
" Mangling for terminal code ripped from desert256.
if version > 580
-" $Id$ vim: se syntax=vim:
" Define the function we'll use. It's easier to do this than to faff about
" trying to run a sequence of normal mode commands.
fun! P4submit()
-" $Id$ vim: se syntax=vim:
" Define the function we'll use. It's easier to do this than to faff about
" trying to run a sequence of normal mode commands.
fun! SVNcommit()
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" $Id$
-""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Multi-version vimrc compatible with version 4 and above.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-# $Id$
-#
-# 2006-01-18 iain: Added alph keyboard, all quadrants; no mode shifts.
+# 2006-01-18 iain: Added alpha keyboard, all quadrants; no mode shifts.
# 2006-01-17 iain: Initial version.
Engine grid {
#!/bin/bash
#
-# $Id$
-#
# bigscreen: Start screen, resizing the current window to allow a hardstatus
# line in addition to an 80x24 display.
# Usage: bigscreen [args]
#!/bin/bash
#
-# $Id$
-#
# choice: Display an X dialogue to allow a choice.
# Usage: choice [-t <timeout>] <description> <text>:<ret> [<text>:<ret> ...]
# Example: choice "File exists" "Replace:1" "Back up:2" "No action:0"
#!/usr/bin/perl
#
-# $Id$
-#
# kill_known_host: Remove an entry from the ssh hosts file.
# Usage: kill_known_host [options] <IP>|<hostname>
# Options: -n Only report key; don't delete it.
#!/bin/bash
-#
-# $Id$
-#
if [ "$1" = "-r" ]; then
shift
#!/bin/bash
#
-# $Id$
-#
# phier: Show process tree incorporating a process.
# Notes: phier functions similarly (but not identically) to Solaris ptree.
# Usage: phier [-s <search>] <pid>
#!/bin/bash
-#
-# $Id$
-#
SSHCOLOURS=~/.ssh/colours
#!/bin/bash
-#
-# $Id$
-#
${SSHTERM:-xterm} ${SSHTERM_TITLE:--title} "$1" ${SSHTERM_EXEC:--e} \
sshcolourterm ${1+"$@"}
#!/bin/bash
#
-# $Id$
-#
# ufont: Change urxvt font.
# Usage: ufont <size> [<font>]
# Example: ufont 12
#!/bin/bash -i
#
-# $Id$
-#
# usize: Set urxvt (or terminal which understands the same escape sequences)
# size.
# Usage: usize <width> [<height>]