comparison setup @ 508:bbcffc594d1e

Vendor what should be vendored and add some more.
author edogawaconan <me@myconan.net>
date Mon, 17 Mar 2014 15:47:15 +0900
parents de5f65991cde
children cb4e2a6595ea
comparison
equal deleted inserted replaced
507:973b7f21b582 508:bbcffc594d1e
128 tmux_conf_file="`basename "/${tmux_conf}"`" 128 tmux_conf_file="`basename "/${tmux_conf}"`"
129 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}" 129 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}"
130 done 130 done
131 } 131 }
132 132
133 _vim_syntax() {
134 _echon "Copying vim syntaxes..."
135 for i in "${basedir}/vendor/vim-syntax"/*.vim; do
136 syntax_file_name="`basename "/${i}"`"
137 _echon "[${syntax_file_name}]"
138 _rc "${1}" "../vendor/vim-syntax/${syntax_file_name}" ".vim/syntax/${syntax_file_name}" > /dev/null
139 done
140 _echo ...done
141 }
142
133 _help() { 143 _help() {
134 cat <<EOF 144 cat <<EOF
135 Usage: ${0} [install|uninstall] 145 Usage: ${0} [install|uninstall]
136 EOF 146 EOF
137 } 147 }
150 _rc "${1}" "hgignore_global" ".hgignore_global" 160 _rc "${1}" "hgignore_global" ".hgignore_global"
151 _touch "${HOME}/.hgignore_global.local" 161 _touch "${HOME}/.hgignore_global.local"
152 _rc "${1}" "inputrc" ".inputrc" 162 _rc "${1}" "inputrc" ".inputrc"
153 _tmux "${1}" 163 _tmux "${1}"
154 _rc "${1}" "vim-base16-default" ".vim/colors/base16-default.vim" 164 _rc "${1}" "vim-base16-default" ".vim/colors/base16-default.vim"
155 _rc "${1}" "vim-syntax-coffee" ".vim/syntax/coffee.vim" 165 _vim_syntax "${1}"
156 _rc "${1}" "vim-syntax-json" ".vim/syntax/json.vim"
157 _rc "${1}" "vim-syntax-scss" ".vim/syntax/scss.vim"
158 _rc "${1}" "vim-syntax-slim" ".vim/syntax/slim.vim"
159 _rc "${1}" "vim-autoload-pathogen" ".vim/autoload/pathogen.vim" 166 _rc "${1}" "vim-autoload-pathogen" ".vim/autoload/pathogen.vim"
160 _rc "${1}" "vimrc" ".vimrc" 167 _rc "${1}" "vimrc" ".vimrc"
161 _rc "${1}" "irbrc" ".irbrc" 168 _rc "${1}" "irbrc" ".irbrc"
162 ;; 169 ;;
163 *) 170 *)