comparison setup @ 474:8c637534d6cd

More informative touch.
author edogawaconan <me@myconan.net>
date Sat, 20 Jul 2013 04:25:06 +0900
parents 1ed4d4c449a6
children 86873b811343
comparison
equal deleted inserted replaced
473:1ed4d4c449a6 474:8c637534d6cd
114 _echo "Removed autostart from ${_script}" 114 _echo "Removed autostart from ${_script}"
115 ;; 115 ;;
116 esac 116 esac
117 } 117 }
118 118
119 _touch() {
120 touch "${@}"
121 _echo "Ensured existence of ${@}"
122 }
123
119 _help() { 124 _help() {
120 cat <<EOF 125 cat <<EOF
121 Usage: ${0} [install|uninstall] 126 Usage: ${0} [install|uninstall]
122 EOF 127 EOF
123 } 128 }
131 _rc "${1}" "gemrc" ".gemrc" 136 _rc "${1}" "gemrc" ".gemrc"
132 _rc "${1}" "gitconfig" ".gitconfig" 137 _rc "${1}" "gitconfig" ".gitconfig"
133 _rc "${1}" "gitignore_global" ".gitignore_global" 138 _rc "${1}" "gitignore_global" ".gitignore_global"
134 _rc "${1}" "hgrc" ".hgrc" 139 _rc "${1}" "hgrc" ".hgrc"
135 _rc "${1}" "hgignore_global" ".hgignore_global" 140 _rc "${1}" "hgignore_global" ".hgignore_global"
136 touch "${HOME}/.hgignore_global.local" 141 _touch "${HOME}/.hgignore_global.local"
137 _rc "${1}" "inputrc" ".inputrc" 142 _rc "${1}" "inputrc" ".inputrc"
138 _rc "${1}" "tmux.conf" ".tmux.conf" 143 _rc "${1}" "tmux.conf" ".tmux.conf"
139 _rc "${1}" "vim-solarized" ".vim/colors/solarized.vim" 144 _rc "${1}" "vim-solarized" ".vim/colors/solarized.vim"
140 _rc "${1}" "vim-syntax-coffee" ".vim/syntax/coffee.vim" 145 _rc "${1}" "vim-syntax-coffee" ".vim/syntax/coffee.vim"
141 _rc "${1}" "vim-syntax-scss" ".vim/syntax/scss.vim" 146 _rc "${1}" "vim-syntax-scss" ".vim/syntax/scss.vim"