comparison setup @ 572:a163d6875651

Vendor autoloads.
author nanaya <me@myconan.net>
date Wed, 24 Jun 2015 13:41:51 +0900
parents 48ab5a354772
children fd416344f175
comparison
equal deleted inserted replaced
571:9e936a929c2d 572:a163d6875651
135 _rc uninstall "tmux.conf" ".tmux.conf" 135 _rc uninstall "tmux.conf" ".tmux.conf"
136 for tmux_conf in "${rcdir}/tmux-"*.conf; do 136 for tmux_conf in "${rcdir}/tmux-"*.conf; do
137 tmux_conf_file="`basename "/${tmux_conf}"`" 137 tmux_conf_file="`basename "/${tmux_conf}"`"
138 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}" 138 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}"
139 done 139 done
140 }
141
142 _vim_autoload() {
143 _echon "Copying vim autoloads..."
144 for i in "${basedir}/vendor/vim-autoload"/*.vim; do
145 autoload_file_name="`basename "/${i}"`"
146 _echon "[${autoload_file_name}]"
147 _rc "${1}" "../vendor/vim-autoload/${autoload_file_name}" ".vim/autoload/${autoload_file_name}" > /dev/null
148 done
149 _echo ...done
140 } 150 }
141 151
142 _vim_syntax() { 152 _vim_syntax() {
143 _echon "Copying vim syntaxes..." 153 _echon "Copying vim syntaxes..."
144 for i in "${basedir}/vendor/vim-syntax"/*.vim; do 154 for i in "${basedir}/vendor/vim-syntax"/*.vim; do
186 _touch "${HOME}/.hgignore_global.local" 196 _touch "${HOME}/.hgignore_global.local"
187 _rc "${1}" "inputrc" ".inputrc" 197 _rc "${1}" "inputrc" ".inputrc"
188 _tmux "${1}" 198 _tmux "${1}"
189 _rc "${1}" "vim-vividchalk" ".vim/colors/vividchalk.vim" 199 _rc "${1}" "vim-vividchalk" ".vim/colors/vividchalk.vim"
190 _vim_syntax "${1}" 200 _vim_syntax "${1}"
191 _rc "${1}" "vim-autoload-pathogen" ".vim/autoload/pathogen.vim" 201 _vim_autoload "${1}"
192 _rc "${1}" "vimrc" ".vimrc" 202 _rc "${1}" "vimrc" ".vimrc"
193 _rc "${1}" "irbrc" ".irbrc" 203 _rc "${1}" "irbrc" ".irbrc"
194 ;; 204 ;;
195 *) 205 *)
196 _help 206 _help