b6c6f989dbc3

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 19 Sep 2019 11:07:32 -0400
parents 5233df61134b
children e39d33e4222c
branches/tags (none)
files .hgsub .hgsubstate bin/bootstrap.sh shellcheckrc vim/vimrc

Changes

--- a/.hgsub	Tue Sep 17 11:33:35 2019 -0400
+++ b/.hgsub	Thu Sep 19 11:07:32 2019 -0400
@@ -30,6 +30,7 @@
 vim/bundle/securemodelines       = [git]https://github.com/ciaranm/securemodelines
 vim/bundle/sexp                  = [git]https://github.com/guns/vim-sexp
 vim/bundle/shaderhighlight       = [git]https://github.com/vim-scripts/ShaderHighLight
+vim/bundle/shellcheck            = [git]https://github.com/itspriddle/vim-shellcheck
 vim/bundle/splice                = [hg]ssh://hg@hg.sr.ht/~sjl/splice.vim
 vim/bundle/strftimedammit        = [hg]ssh://hg@hg.sr.ht/~sjl/strftimedammit.vim/
 vim/bundle/surround              = [git]https://github.com/tpope/vim-surround
--- a/.hgsubstate	Tue Sep 17 11:33:35 2019 -0400
+++ b/.hgsubstate	Thu Sep 19 11:07:32 2019 -0400
@@ -30,6 +30,7 @@
 10d6c6b52fcdd12f3ba457126f66fee4ccceec04 vim/bundle/securemodelines
 b4398689f7483b01684044ab6b55bf369744c9b3 vim/bundle/sexp
 e02c3e218c51c1e2ea1821a3fe412d4e09ca1502 vim/bundle/shaderhighlight
+4346419ac57ef341a15aa39c827c0848f17c6faf vim/bundle/shellcheck
 062b18eebd153c13e6f36577707acb17893cd959 vim/bundle/splice
 26fbdd7d1f1aa5600d2ebf39bbdd292c38aac16e vim/bundle/strftimedammit
 aa1f120ad3a29c27cc41d581cda3751c59343cce vim/bundle/surround
--- a/bin/bootstrap.sh	Tue Sep 17 11:33:35 2019 -0400
+++ b/bin/bootstrap.sh	Thu Sep 19 11:07:32 2019 -0400
@@ -50,6 +50,7 @@
 ensure_link "src/dotfiles/mutt/notmuch-config"    ".notmuch-config"
 ensure_link "src/dotfiles/psqlrc"                 ".psqlrc"
 ensure_link "src/dotfiles/sbclrc"                 ".sbclrc"
+ensure_link "src/dotfiles/shellcheckrc"           ".shellcheckrc"
 ensure_link "src/dotfiles/stumpwmrc"              ".stumpwmrc"
 ensure_link "src/dotfiles/tmux/tmux.conf"         ".tmux.conf"
 ensure_link "src/dotfiles/vim"                    ".vim"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/shellcheckrc	Thu Sep 19 11:07:32 2019 -0400
@@ -0,0 +1,2 @@
+# Fuck off with the UUOC bullshit
+disable=SC2002
--- a/vim/vimrc	Tue Sep 17 11:33:35 2019 -0400
+++ b/vim/vimrc	Thu Sep 19 11:07:32 2019 -0400
@@ -1975,7 +1975,8 @@
     au FileType sh nnoremap <buffer> <localleader>e :call NeoReplSendCurrentLine()<cr>
     au FileType sh nnoremap <buffer> <localleader>E :call SendShellParagraph()<cr>
     au FileType sh nnoremap <buffer> <localleader>F :call NeoReplSendEntireFile(1)<cr>
-    au FileType sh nnoremap <buffer> <localleader>c :call NeoReplSendRaw("clear")<cr>
+    au FileType sh nnoremap <buffer> <localleader>C :call NeoReplSendRaw("clear")<cr>
+    au FileType sh nnoremap <buffer> <localleader>c :ShellCheck!<cr>
 augroup END
 
 " }}}