comparison setup @ 20:c345234efaf5

Merge. I don't even remember when I committed this.
author Edho Prima Arief <me@myconan.net>
date Fri, 05 Nov 2010 23:02:37 +0700
parents 73123c5ef818
children 738a2da8b79c
comparison
equal deleted inserted replaced
19:b975a587f8f6 20:c345234efaf5
6 linker "tcsh" ".tcsh_init" 6 linker "tcsh" ".tcsh_init"
7 linker "tmux" ".tmux.conf" 7 linker "tmux" ".tmux.conf"
8 linker "hg" ".hgrc" 8 linker "hg" ".hgrc"
9 linker "vim" ".vimrc" 9 linker "vim" ".vimrc"
10 linker "inputrc" ".inputrc" 10 linker "inputrc" ".inputrc"
11 linker "bin" "bin-ec" 11 #originally bin-ec. Renamed to .ecos.bin for sanity when listing home
12 linker "bin" ".ecos.bin"
12 13
13 #modify cshrc 14 #modify cshrc
14 echo '[ -r "${HOME}/.tcsh_init" ] && source "${HOME}/.tcsh_init" #ECCORE_TCSH' >> "${HOME}/.cshrc" 15 echo '[ -r "${HOME}/.tcsh_init" ] && source "${HOME}/.tcsh_init" #ECCORE_TCSH' >> "${HOME}/.cshrc"
15 } 16 }
16 17
25 mv .cleancshrc "${HOME}/.cshrc" 26 mv .cleancshrc "${HOME}/.cshrc"
26 fi 27 fi
27 } 28 }
28 29
29 uninstall() { 30 uninstall() {
30 for i in .tcsh_init .tmux.conf .hgrc .vimrc .inputrc bin-ec; do 31 for i in .tcsh_init .tmux.conf .hgrc .vimrc .inputrc bin-ec .ecos.bin; do
31 if [ -e "${HOME}/${i}" ]; then 32 if [ -e "${HOME}/${i}" ]; then
32 echo "Removing file: ~/${i}" 33 echo "Removing file: ~/${i}"
33 rm -f "${HOME}/${i}" 34 rm -f "${HOME}/${i}"
34 fi 35 fi
35 done 36 done