changeset 6:941970bc92e3

create skeleton generating code.
author Robert McIntyre <rlm@mit.edu>
date Tue, 08 Jan 2013 16:03:31 +0000
parents 0cad381d72d5
children ab4011ea1463
files defaults/bashrc defaults/create-skeleton.sh defaults/hg-wrapper.pl
diffstat 2 files changed, 6 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/defaults/bashrc	Tue Jan 08 15:50:27 2013 +0000
     1.2 +++ b/defaults/bashrc	Tue Jan 08 16:03:31 2013 +0000
     1.3 @@ -9,7 +9,7 @@
     1.4  /usr/bin:\
     1.5  /tools/bin"
     1.6  
     1.7 -alias ls="/bin/ls --color=auto "
     1.8 +alias ls="/usr/bin/env ls --color=auto "
     1.9  export ls
    1.10  alias la="ls -la"
    1.11  export la
    1.12 @@ -23,18 +23,9 @@
    1.13  export l
    1.14  
    1.15  colors="/etc/dircolors"
    1.16 -
    1.17 -if [ $DARKTERM ]; then 
    1.18 -    TMP=`mktemp`
    1.19 -    cat $colors /home/r/config/ls/dark-term > $TMP
    1.20 -    colors=$TMP
    1.21 -    unset TMP
    1.22 -fi
    1.23  eval $(dircolors -b $colors)
    1.24  unset colors
    1.25  
    1.26  export HGEDITOR="emacs"
    1.27  
    1.28 -alias hg="~/.hgwrapper"
    1.29 -
    1.30 -
    1.31 +alias hg="~/.hg-wrapper"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/defaults/create-skeleton.sh	Tue Jan 08 16:03:31 2013 +0000
     2.3 @@ -0,0 +1,4 @@
     2.4 +mkdir -pv /pkg/defaults
     2.5 +ln -sfv ./bashrc /pkg/defaults/.bashrc
     2.6 +ln -sfv ./hg-wrapper.pl /pkg/defaults/.hg-wrapper
     2.7 +