From f09a9ddb4064268867cf8eaef414147ef922ad1b Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Thu, 3 Oct 2019 21:07:04 -0500 Subject: [PATCH] Added TabNine, cleaned up some of the installer Installed was running as `sh` and a bunch of crap was lit up as being wrong in POSIX mode, so just changed it over to run via `bash`. Added TabNine to the vim install and added the appropriate `vimrc` stuff for that. Also dropped some old color toggling shit I'm not using anymore. --- README.md | 2 +- install | 3 ++- vimrc | 7 +------ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3a6d280..038a9a0 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ master my life. My `dotfiles`, without me, are useless. Without my `dotfiles`, I am useless. ```shell -sh -c "$(curl -fsSL https://raw.githubusercontent.com/joshtronic/dotfiles/master/install)" +bash -c "$(curl -fsSL https://raw.githubusercontent.com/joshtronic/dotfiles/master/install)" ``` ![LeePaceCelebrate](http://i.giphy.com/Vc5x1pG5RFH3O.gif) diff --git a/install b/install index e52fe78..699d243 100755 --- a/install +++ b/install @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash if [ -z "$HOME" ]; then echo "Seems you're \$HOMEless :("; exit 1; fi @@ -77,6 +77,7 @@ VIMPLUGS=( "jelera/vim-javascript-syntax" "Quramy/vim-js-pretty-template" "StanAngeloff/php.vim" + "zxqfl/tabnine-vim" ) for INDEX in ${!VIMPLUGS[*]}; do diff --git a/vimrc b/vimrc index dfa7ad5..3781ae6 100644 --- a/vimrc +++ b/vimrc @@ -1,12 +1,6 @@ syntax on color solarized -" if exists('theme') && theme == 'light' -" set background=light -" else -" set background=dark -" endif - set background=dark " FIX: Spell check highlighting broke for some reason @@ -28,3 +22,4 @@ autocmd FileType markdown,text setl tw=80 wm=2 autocmd BufWritePre * :%s/\s\+$//e set rtp+=~/.fzf +set rtp+=~/.vim/pack/plugins/start/tabnine-vim