Skip to content

Commit

Permalink
vim-enhanced with syntax highlighting for .appl file setup for root user
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneiroi committed Jul 20, 2011
1 parent 0069336 commit eaeb454
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions appliances/boxgrinder-meta.appl
Expand Up @@ -17,6 +17,14 @@ packages:
- guestfish
- rubygem-bundler
- rubygem-boxgrinder-build
- vim-enhanced
post:
base:
- "/bin/echo 'yum -y update rubygem-boxgrinder-core rubygem-boxgrinder-build --enablerepo=\"updates\"' >> /etc/rc.local"
# grab and setup yaml syntax highlighting for vim
- "[[ ! -d '/root/.vim' ]] && /bin/mkdir /root/.vim"
- "/usr/bin/curl http://www.vim.org/scripts/download_script.php?src_id=2249 > /root/.vim/yaml.vim"
- "/bin/echo 'au BufNewFile,BufRead *.appl,*.yaml,*.yml so ~/.vim/yaml.vim' >> /root/.vimrc"
- "/bin/echo 'syntax on' >> /root/.vimrc"
- "/bin/echo 'yum -y update rubygem-boxgrinder-core rubygem-boxgrinder-build --enablerepo=\"updates\"' >> /etc/rc.local"

0 comments on commit eaeb454

Please sign in to comment.