aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-05-07 11:43:33 +0200
committerKarel Kočí <cynerd@email.cz>2017-05-07 11:49:39 +0200
commit36e9201b0fd130f3aaf924b06bf29c0e46c88743 (patch)
tree20e48fafa829da0a2aeac92e54a0e355b21d4f84 /install
parenta793b23435567f2d4f49846196ceebcc47cd764c (diff)
parent9fbf8d27ddbfb136351780615d42af82ddb42337 (diff)
downloadmyconfigs-36e9201b0fd130f3aaf924b06bf29c0e46c88743.tar.gz
myconfigs-36e9201b0fd130f3aaf924b06bf29c0e46c88743.tar.bz2
myconfigs-36e9201b0fd130f3aaf924b06bf29c0e46c88743.zip
Merge branch 'master' into server
Diffstat (limited to 'install')
-rwxr-xr-xinstall17
1 files changed, 8 insertions, 9 deletions
diff --git a/install b/install
index cc994b0..974a305 100755
--- a/install
+++ b/install
@@ -10,29 +10,28 @@ git submodule update --init || (echo "Submodule update failed!"; exit 5)
#################################################################################
source private/install # private files, sorry but some privacy is required.
-read -p "Install Bashrc? (Y/n) "
-if [[ $REPLY =~ ^[Yy]?$ ]]; then
+if ask "Install Bashrc?"; then
inst bashrc ~/.bashrc
inst shellrc ~/.shellrc
inst profile ~/.profile
fi
-read -p "Install zshrc? (Y/n) "
-if [[ $REPLY =~ ^[Yy]?$ ]]; then
+if ask "Install zshrc?"; then
inst zshrc ~/.zshrc
inst shellrc ~/.shellrc
inst zprofile ~/.zprofile
fi
-read -p "Install GIT configuration? (Y/n) "
-if [[ $REPLY =~ ^[Yy]?$ ]]; then
+if ask "Install GIT configuration?"; then
inst gitconfig ~/.gitconfig
inst local/git-prompt.sh ~/.local/
fi
-read -p "Install VIM scripts? (Y/n) "
-YCM_PATH=~/.vim/bundle/YouCompleteMe
-if [[ $REPLY =~ ^[Yy]?$ ]]; then
+if ask "Install configurations for various utility tools?"; then
+ inst screenrc ~/.screenrc
+fi
+
+if ask "Install VIM scripts?"; then
inst vimrc ~/.vimrc
mkdir -p ~/.cache/vim # directory for *.swp files
mkdir -p ~/.cache/vim-undo # directory for undo files