diff options
author | Jan-Tarek Butt | 2016-12-22 02:04:28 +0100 |
---|---|---|
committer | Jan-Tarek Butt | 2016-12-22 02:04:28 +0100 |
commit | a1ae780d8a03dc06ccb4818b062ae022bfe04794 (patch) | |
tree | f13d8f9367d83ce7305846565f89075406bc4537 | |
parent | 3c0cdc9793f53432cdb9da54710e432fd6d7bb6f (diff) | |
download | aur-a1ae780d8a03dc06ccb4818b062ae022bfe04794.tar.gz |
install: show message after install for vimrc config
-rw-r--r-- | install | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -1,14 +1,28 @@ -post_install() { +update_vim_help() { echo -n "Updating Vim help tags..." /usr/bin/vim --noplugin -u NONE -U NONE \ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 echo "done." } +post_install() { + update_vim_help + echo "==> ------------------------------------------------------------------------------------------------------------------------------" + echo + echo "==> add: \"let g:ycm_global_ycm_extra_conf = '/usr/share/vim/vimfiles/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'\" to your vimrc" + echo + echo "==> ------------------------------------------------------------------------------------------------------------------------------" +} + post_upgrade() { - post_install $1 + update_vim_help "$1" } post_remove() { - post_install + update_vim_help + echo "==> ---------------------------------------------------------------------------------------------------------------------------------" + echo + echo "==> remove: \"let g:ycm_global_ycm_extra_conf = '/usr/share/vim/vimfiles/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'\" in your vimrc" + echo + echo "==> ---------------------------------------------------------------------------------------------------------------------------------" } |