comparison setup @ 579:fd416344f175

Fix uninstall message
author nanaya <me@myconan.net>
date Sun, 11 Oct 2015 04:08:38 +0900
parents a163d6875651
children 5a0f3d427979
comparison
equal deleted inserted replaced
578:184635b813e1 579:fd416344f175
138 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}" 138 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}"
139 done 139 done
140 } 140 }
141 141
142 _vim_autoload() { 142 _vim_autoload() {
143 _echon "Copying vim autoloads..." 143 case "${1}" in
144 install) _echon "Copying";;
145 uninstall) _echon "Removing";;
146 esac
147 _echon " vim autoloads..."
148
144 for i in "${basedir}/vendor/vim-autoload"/*.vim; do 149 for i in "${basedir}/vendor/vim-autoload"/*.vim; do
145 autoload_file_name="`basename "/${i}"`" 150 autoload_file_name="`basename "/${i}"`"
146 _echon "[${autoload_file_name}]" 151 _echon "[${autoload_file_name}]"
147 _rc "${1}" "../vendor/vim-autoload/${autoload_file_name}" ".vim/autoload/${autoload_file_name}" > /dev/null 152 _rc "${1}" "../vendor/vim-autoload/${autoload_file_name}" ".vim/autoload/${autoload_file_name}" > /dev/null
148 done 153 done
149 _echo ...done 154 _echo ...done
150 } 155 }
151 156
152 _vim_syntax() { 157 _vim_syntax() {
153 _echon "Copying vim syntaxes..." 158 case "${1}" in
159 install) _echon "Copying";;
160 uninstall) _echon "Removing";;
161 esac
162 _echon " vim syntaxes..."
163
154 for i in "${basedir}/vendor/vim-syntax"/*.vim; do 164 for i in "${basedir}/vendor/vim-syntax"/*.vim; do
155 syntax_file_name="`basename "/${i}"`" 165 syntax_file_name="`basename "/${i}"`"
156 _echon "[${syntax_file_name}]" 166 _echon "[${syntax_file_name}]"
157 _rc "${1}" "../vendor/vim-syntax/${syntax_file_name}" ".vim/syntax/${syntax_file_name}" > /dev/null 167 _rc "${1}" "../vendor/vim-syntax/${syntax_file_name}" ".vim/syntax/${syntax_file_name}" > /dev/null
158 done 168 done