changeset 5:0cad381d72d5

create initial package user defaults and hg wrapper.
author Robert McIntyre <rlm@mit.edu>
date Tue, 08 Jan 2013 15:50:27 +0000
parents fe56b4698cf8
children 941970bc92e3
files defaults/bashrc defaults/hg-wrapper.pl
diffstat 2 files changed, 43 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/defaults/bashrc	Tue Jan 08 15:50:27 2013 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +#!/bin/bash
     1.5 +set +h
     1.6 +
     1.7 +export PATH=\
     1.8 +"/home/r/system/usr/bin:\
     1.9 +/sbin/:\
    1.10 +/bin:\
    1.11 +/usr/sbin:\
    1.12 +/usr/bin:\
    1.13 +/tools/bin"
    1.14 +
    1.15 +alias ls="/bin/ls --color=auto "
    1.16 +export ls
    1.17 +alias la="ls -la"
    1.18 +export la
    1.19 +
    1.20 +# some personal shortcuts
    1.21 +alias r="reset"
    1.22 +export r
    1.23 +alias sl=ls
    1.24 +export sl
    1.25 +alias l=ls
    1.26 +export l
    1.27 +
    1.28 +colors="/etc/dircolors"
    1.29 +
    1.30 +if [ $DARKTERM ]; then 
    1.31 +    TMP=`mktemp`
    1.32 +    cat $colors /home/r/config/ls/dark-term > $TMP
    1.33 +    colors=$TMP
    1.34 +    unset TMP
    1.35 +fi
    1.36 +eval $(dircolors -b $colors)
    1.37 +unset colors
    1.38 +
    1.39 +export HGEDITOR="emacs"
    1.40 +
    1.41 +alias hg="~/.hgwrapper"
    1.42 +
    1.43 +
     2.1 --- a/defaults/hg-wrapper.pl	Tue Jan 08 15:41:29 2013 +0000
     2.2 +++ b/defaults/hg-wrapper.pl	Tue Jan 08 15:50:27 2013 +0000
     2.3 @@ -0,0 +1,3 @@
     2.4 +!#/usr/bin/env perl
     2.5 +
     2.6 +system("hg", @_);