forked from pbondoer/vim-42header
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathember_install.sh
More file actions
executable file
·32 lines (27 loc) · 1.42 KB
/
ember_install.sh
File metadata and controls
executable file
·32 lines (27 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# **************************************************************************** #
# #
# |\ #
# ember_install.sh ------| \---- #
# | \` \ | p #
# By: cshepard6055 <cshepard6055@floridapoly.edu> | \`-\ \ | o #
# |---\ \ `| l #
# Created: 2017/11/06 09:01:29 by cshepard6055 | ` .\ \ | y #
# Updated: 2017/12/04 08:49:24 by cshepard6055 ------------- #
# #
# **************************************************************************** #
echo "This installs pathogen for vim, and configures your header."
echo "If you have a .vimrc, it will be reset."
sleep 1
echo "Works in ember; ctrl+c to terminate if not in ember (2 seconds)."
sleep 2
# create || overwrite .vimrc
cp .vimrc ~/.vimrc
# install pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
# install header
cp plugin/poly-header.vim ~/.vim/plugin
# set $MAIL environment variable
echo "export MAIL=$(whoami)@floridapoly.edu" >> ~/.bashrc
source ~/.bashrc