jonallured / dotfiles

Here be my dotfiles
7 stars 0 forks source link

Week 29 - colossus #136

Closed jonallured closed 5 years ago

jonallured commented 5 years ago

Terminal Stuff

Filesystem Housekeeping

Check for Updates

Stay in Sync

Finishing Up

jonallured commented 5 years ago

I've been working on scripting most of the terminal stuff and then writing it to log files and posting to these types of issues. Here's what came up today:

sharpen.log

``` + brew upgrade bat fzf git heroku hokusai hub macvim the_silver_searcher tmux yarn Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and artsy/formulas). ==> New Formulae whalebrew ==> Updated Formulae amazon-ecs-cli angular-cli ansible apache-flink armor artsy/formulas/hokusai asdf ask-cli astrometry-net atlantis atomist-cli aws-sdk-cpp azure-cli babel balena-cli bazel binaryen bitrise botan bro bundletool bzip2 caddy cake cfn-lint chakra chipmunk chronograf circleci citus ckan click cocoapods conan convox cromwell cxxopts dbus dcd debianutils dependency-check di digdag dita-ot dnstwist docfx doctl doitlive dosbox dscanner dynamips eprover erlang erlang@21 ethereum exa exploitdb fio firebase-cli fonttools frpc frps frugal fs-uae fselect gatsby-cli gdal get_iplayer ghex ghostscript git-absorb gitmoji glib glide glooctl golang-migrate goreleaser gradle graph-tool gsoap gst-plugins-bad hcloud helmfile hqx hub hypre i386-elf-gcc i386-elf-gdb i386-elf-grub isync janet jenkins jfrog-cli-go jhead jlog jsdoc3 jsoncpp klavaro kore ktlint kube-aws kubernetes-helm kustomize kvazaar landscaper lgogdownloader libhdhomerun libjson-rpc-cpp libphonenumber libraw libsbol libtensorflow libvirt libxmlsec1 linkerd lmod log4cplus log4shib logcheck logstash lxc mdbook mednafen mesa meson minio minio-mc mkl-dnn mono mpop msmtp nats-server nickle nim node nsd nss ocrad ocrmypdf omega opam open-zwave openapi-generator openconnect openhmd openrct2 opensaml operator-sdk pdnsrec petsc petsc-complex phpmd phpunit pioneer platformio poco prips proj prometheus proteinortho protoc-gen-go pulumi pyenv pyside python r radare2 redex repo reposurgeon rke s3-backer serverless shibboleth-sp ship sip squid sshguard stanford-parser suil svgo swagger-codegen swagger-codegen@2 sysdig tag telegraf terraform terrahub thors-serializer tmpreaper tomcat tomcat@8 ttyd ucloud ungit urh vala vim vim@7.4 vulkan-headers watson wcslib webdis webp websocat wgetpaste widelands xa xml-tooling-c xorriso yarn yash yaz ydcv youtube-dl zabbix znc Error: bat 0.11.0_1 already installed Error: fzf 0.18.0 already installed Error: git 2.22.0_1 already installed Error: heroku/brew/heroku 7.26.2 already installed Error: macvim 8.1-156 already installed Error: the_silver_searcher 2.2.0 already installed Error: tmux 2.9a already installed ==> Upgrading 3 outdated packages: artsy/formulas/hokusai 0.5.6 -> 0.5.7, hub 2.12.1 -> 2.12.2, yarn 1.17.0 -> 1.17.3 ==> Upgrading artsy/formulas/hokusai ==> Downloading https://artsy-provisioning-public.s3.amazonaws.com/hokusai/hokusai-0.5.7-Darwin-x86_64.tar.gz 🍺 /usr/local/Cellar/hokusai/0.5.7: 3 files, 11MB, built in 6 seconds Removing: /usr/local/Cellar/hokusai/0.5.6... (3 files, 11MB) Removing: /Users/jon/Library/Caches/Homebrew/hokusai--0.5.6.tar.gz... (10.9MB) ==> Upgrading hub ==> Downloading https://homebrew.bintray.com/bottles/hub-2.12.2.mojave.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/df/dfc618a1e69d697c8223a7b130abbda9a60314b77cf7c979422145d92b6184bf?__gda__=exp=1563303870~hmac=57d29e1befed0e935231f6fa4737ffed049d9c5f8e1b39e436655e4f63b2c6b0&response-content-disposition=attachment%3Bfilename%3D%22hub-2.12.2.mojave.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX18LXQv9uv68vBegnG2PlPMoZSK9bE-NSGqDI4UTJ1IuDz8-eVNt4w8Xio_kOdu18HFF4f8pfSC0agOwvHocLhg1ZhAI40i9MPtv2xBDO_yo7YSxNw9bnPm9Vb-7MYnYvbsuMRcNSOXqIg&response-X-Checksum-Sha1=afda3db7377d5ca2f3c3fc97016368fb9826a852&response-X-Checksum-Sha2=dfc618a1e69d697c8223a7b130abbda9a60314b77cf7c979422145d92b6184bf ==> Pouring hub-2.12.2.mojave.bottle.tar.gz ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> Summary 🍺 /usr/local/Cellar/hub/2.12.2: 36 files, 9.0MB Removing: /usr/local/Cellar/hub/2.12.1... (36 files, 9.0MB) Removing: /Users/jon/Library/Caches/Homebrew/hub--2.12.1.mojave.bottle.tar.gz... (4.6MB) ==> Upgrading yarn ==> Installing dependencies for yarn: node ==> Installing yarn dependency: node ==> Downloading https://homebrew.bintray.com/bottles/node-12.6.0.mojave.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/0e/0e41a4bbf4ca3a05377d864e3d462ddb139c25607806273078fa0f8e353616ce?__gda__=exp=1563303873~hmac=3c61f5aee7e10cc81b707c08997fe355f1fe55c854d469598492036a93280929&response-content-disposition=attachment%3Bfilename%3D%22node-12.6.0.mojave.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX19-gVsGE5Nyc4Pt_G2kGmtmq0wa7TVGOXmTd_qJkEHCBMn6BXnXTF5bnQIo1UqQPXCkMz0Dp9u0k9FzS1afmOV0jmES9KOp7z_B0x_CrVwDU5rRavpcZVWVlSiMcRbxlz78fVVx-qOCYg&response-X-Checksum-Sha1=d18dfd207b77e1281e49d2ce5d64add6304d5a92&response-X-Checksum-Sha2=0e41a4bbf4ca3a05377d864e3d462ddb139c25607806273078fa0f8e353616ce ==> Pouring node-12.6.0.mojave.bottle.tar.gz ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> Summary 🍺 /usr/local/Cellar/node/12.6.0: 4,515 files, 53.0MB ==> Installing yarn ==> Downloading https://yarnpkg.com/downloads/1.17.3/yarn-v1.17.3.tar.gz ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/49970642/114f8b80-a477-11e9-9a08-70f1f8027b9e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190716%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190716T185253Z&X-Amz-Expires=300&X-Amz-Signature=8dd2ad991bb924a0a37aa8ac6dbafcb3e907a647aa48ed00d73276f711a295fa&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyarn-v1.17.3.tar.gz&response-content-type=application%2Foctet-stream 🍺 /usr/local/Cellar/yarn/1.17.3: 14 files, 5MB, built in 5 seconds Removing: /usr/local/Cellar/yarn/1.17.0... (14 files, 5MB) Removing: /Users/jon/Library/Caches/Homebrew/yarn--1.17.0.tar.gz... (1.2MB) ==> Caveats ==> hub Bash completion has been installed to: /usr/local/etc/bash_completion.d zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> node Bash completion has been installed to: /usr/local/etc/bash_completion.d + set -e + asdf update From https://github.com/asdf-vm/asdf d633db7..ce01bcf master -> origin/master * [new tag] v0.7.3 -> v0.7.3 Previous HEAD position was ac2eede Update version to 0.7.2 HEAD is now at ce01bcf Update version to 0.7.3 Updated asdf to release v0.7.3 + asdf plugin-update --all Updating nodejs... Already up to date. Current branch master is up to date. Updating python... Already up to date. Current branch master is up to date. Updating ruby... From https://github.com/asdf-vm/asdf-ruby b4e13e6..1ed8ef6 master -> origin/master Updating b4e13e6..1ed8ef6 Fast-forward rubygems-plugin/rubygems_plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Current branch master is up to date. + asdf reshim + gem update --system Error loading RubyGems plugin "/Users/jon/.asdf/installs/ruby/2.6.2/lib/ruby/gems/2.6.0/gems/yard-0.8.7.6/lib/rubygems_plugin.rb": can't modify frozen Hash (FrozenError) Latest version already installed. Done. + npm install --global npm /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/bin/npm -> /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/bin/npm-cli.js /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/bin/npx -> /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/bin/npx-cli.js > chownr@1.1.2 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/chownr > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > yallist@2.1.2 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/cross-spawn/node_modules/yallist > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > lru-cache@4.1.5 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/cross-spawn/node_modules/lru-cache > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > env-paths@1.0.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/env-paths > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > inherits@2.0.4 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/inherits > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > glob@7.1.4 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/glob > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > p-try@2.2.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/libnpmconfig/node_modules/p-try > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > p-limit@2.2.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/libnpmconfig/node_modules/p-limit > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > node-gyp@5.0.2 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/node-gyp > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > npm-lifecycle@3.0.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/npm-lifecycle > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall (node:74119) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit > semver@5.7.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/semver > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > split-on-first@1.1.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/split-on-first > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > worker-farm@1.7.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/worker-farm > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > yallist@3.0.3 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/yallist > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > lru-cache@5.1.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/lru-cache > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > make-fetch-happen@4.0.2 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/make-fetch-happen > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > make-fetch-happen@4.0.2 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/make-fetch-happen > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > npm-registry-fetch@3.9.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/npm-registry-fetch > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > libnpmsearch@2.0.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/libnpmsearch > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > call-limit@1.1.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/call-limit > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > libcipm@4.0.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/libcipm > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > libnpm@3.0.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/libnpm > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > query-string@6.8.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/query-string > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > readable-stream@3.4.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/readable-stream > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > npm@6.10.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall + npm@6.10.1 added 5 packages from 4 contributors, removed 7 packages and updated 20 packages in 15.691s + nuke_modules cleaned up ```

replug.log

``` + PlugClean Searching for invalid plugins in /Users/jon/.vim/plugs [=========================================================] Already clean. + PlugInstall Updated. Elapsed time: 2.125629 sec. [========================================================] - Finishing ... Done! - bufkill.vim: Already installed - fzf: Already installed - vim-hashrocket: Already installed - vim-rake: Already installed - vim-turbux: Already installed - vim-pug: Already installed - vim-ruby: Already installed - vim-textobj-user: Already installed - vim-scriptease: Already installed - vim-json: Already installed - vim-rsi: Already installed - tslime.vim: Already installed - vim-vividchalk: Already installed - vim-coffee-script: Already installed - vim-rhubarb: Already installed - vim-markdown: Already installed - vim-eunuch: Already installed - vim-vinegar: Already installed - vim-repeat: Already installed - vim-slim: Already installed - vim-git: Already installed - vim-commentary: Already installed - vim-blockle: Already installed - vim-endwise: Already installed - supertab: Already installed - vim-sleuth: Already installed - ack.vim: Already installed - vim-spacejam: Already installed - bufexplorer.zip: Already installed - vim-railscasts: Already installed - vim-unimpaired: Already installed - vim-headfirst: Already installed - vim-bdubs: Already installed - vim-rails: Already installed - vim-weefactor: Already installed - pgsql.vim: Already installed - vim-sensible: Already installed - gitv: Already installed - vim-irblack: Already installed - vim-fugitive: Already installed - vim-textobj-rubyblock: Already installed - tabular: Already installed - vim-speeddating: Already installed - ale: Already installed - vim-bundler: Already installed - vim-haml: Already installed - splitjoin.vim: Already installed - vim-jsx: Already installed - vim-abolish: Already installed - vim-projectionist: Already installed - vim-ragtag: Already installed - vim-surround: Already installed - typescript-vim: Already installed - vim-javascript: Already installed - vim-cucumber: Already installed - vim-styled-components: Already installed + PlugUpdate Updated. Elapsed time: 7.877815 sec. [========================================================] - Finishing ... Done! - vim-styled-components: Already up to date. - vim-cucumber: Already up to date. - ale: create mode 100644 test/fixers/test_sorbet_fixer_callback.vader - vim-fugitive: 2 files changed, 296 insertions(+), 176 deletions(-) - bufkill.vim: Already up to date. - fzf: 1 file changed, 1 insertion(+), 1 deletion(-) - vim-git: Already up to date. - vim-hashrocket: Already up to date. - vim-rake: Already up to date. - vim-turbux: Already up to date. - vim-pug: Already up to date. - vim-ruby: 1 file changed, 1 insertion(+) - vim-textobj-user: Already up to date. - vim-scriptease: Already up to date. - vim-json: Already up to date. - vim-rsi: Already up to date. - tslime.vim: Already up to date. - vim-vividchalk: Already up to date. - vim-irblack: Already up to date. - vim-coffee-script: Already up to date. - vim-rhubarb: Already up to date. - vim-markdown: Already up to date. - vim-eunuch: Already up to date. - gitv: Already up to date. - vim-vinegar: Already up to date. - vim-sensible: Already up to date. - vim-repeat: Already up to date. - vim-slim: Already up to date. - vim-commentary: Already up to date. - vim-blockle: Already up to date. - vim-endwise: Already up to date. - supertab: Already up to date. - vim-sleuth: Already up to date. - ack.vim: Already up to date. - vim-spacejam: Already up to date. - vim-javascript: Already up to date. - bufexplorer.zip: Already up to date. - typescript-vim: Already up to date. - vim-railscasts: Already up to date. - vim-surround: Already up to date. - vim-unimpaired: Already up to date. - vim-headfirst: Already up to date. - vim-bdubs: Already up to date. - vim-rails: Already up to date. - vim-weefactor: Already up to date. - pgsql.vim: Already up to date. - vim-textobj-rubyblock: Already up to date. - tabular: Already up to date. - vim-speeddating: Already up to date. - vim-bundler: Already up to date. - vim-haml: Already up to date. - splitjoin.vim: Already up to date. - vim-jsx: Already up to date. - vim-abolish: Already up to date. - vim-projectionist: Already up to date. - vim-ragtag: Already up to date. + PlugDiff 4 plugin(s) updated. [========================================================] Last update: ------------ - ale: * aae6d30 Merge pull request #2618 from rustic-games/clippy-flags (2 days ago) |\ | * 53b0e6c support all cargo options for build/clippy (3 weeks ago) | * e52388b support clippy options with -- (3 weeks ago) * bafa1c6 Merge pull request #2643 from delphinus/feature/update-deoplete-for-cpp (2 days ago) |\ | * 240bb8a Add Deoplete's input_patterns for cpp (2 days ago) |/ * 36a5011 Merge pull request #2601 from delphinus/feature/better-completion-for-deoplete (2 days ago) |\ | * a3521de Use input_patterns & add comments for updating it (3 weeks ago) | * 4e1c469 Add & fix tests for added funcs (4 weeks ago) | * e0f8304 Add separated func for deoplete (4 weeks ago) | * f5a908b Add input_pattern setting for deoplete (4 weeks ago) * abb3895 Add Sorbet ruby linter and fixer (#2614) (3 days ago) - fzf: * e7097a9 [fish] Remove perl from fish key bindings (#1635) (4 days ago) - vim-fugitive: * 469a73f Speed up :Ggrep (16 hours ago) * a1b7896 Decouple :Glog from :grep (16 hours ago) * 158ffdb Extract function to create titled quickfix list (16 hours ago) * f830727 Remove debugging variable (16 hours ago) * 4c650c6 Don't require shell quoting for colons (23 hours ago) * dafb994 Remove unused function (2 days ago) * 8c80cb6 Fix E211 handling in :Gmerge/:Grebase (2 days ago) * dbdc947 Fix as :Gblame map (2 days ago) * 4da9fb8 Guard against empty filename checking for conflicts (3 days ago) * 0c259e3 Tighten up autowrite handling (3 days ago) * d0049b4 Support double quotes for all subcommand wrappers (4 days ago) * e169595 Fix finishing :Gcommit on :wqa (4 days ago) * a1a40c3 Provide :Gclog and :Gcgrep aliases (5 days ago) * e250f97 Fix :Gblame on win32 (5 days ago) * c33d7fc Show stderr on :Gcommit (5 days ago) * d176cca Don't include trailing newline in fugitive#GitVersion() (5 days ago) * aa68223 More helpful error on Git without -C (5 days ago) * bdf5a22 Use standard argument handling for :Gfetch/:Gpush (6 days ago) * fd48cde Fix escaping when :Grebase calls :Gcommit (6 days ago) * 0a758c2 Retool :Ggrep (6 days ago) * bb05732 Begin phasing out (6 days ago) * de3f6d9 Fix commands on Vim without (7 days ago) - vim-ruby: * 1aa8f0c Re-enable after/ files to define custom keywords (3 days ago) + PlugUpgrade diff --git a/rcm/vim/autoload/plug.vim b/rcm/vim/autoload/plug.vim index bfafbfb..afb1772 100644 --- a/rcm/vim/autoload/plug.vim +++ b/rcm/vim/autoload/plug.vim @@ -794,9 +794,7 @@ endfunction function! s:chsh(swap) let prev = [&shell, &shellcmdflag, &shellredir] - if s:is_win - set shell=cmd.exe shellcmdflag=/c shellredir=>%s\ 2>&1 - elseif a:swap + if !s:is_win && a:swap set shell=sh shellredir=>%s\ 2>&1 endif return prev @@ -811,7 +809,7 @@ function! s:bang(cmd, ...) if s:is_win let batchfile = tempname().'.bat' call writefile(["@echo off\r", cmd . "\r"], batchfile) - let cmd = s:shellesc(batchfile) + let cmd = s:shellesc(expand(batchfile)) endif let g:_plug_bang = (s:is_win && has('gui_running') ? 'silent ' : '').'!'.escape(cmd, '#!%') execute "normal! :execute g:_plug_bang\\" @@ -1210,7 +1208,7 @@ function! s:spawn(name, cmd, opts) let cmd = has_key(a:opts, 'dir') ? s:with_cd(a:cmd, a:opts.dir) : a:cmd if !empty(job.batchfile) call writefile(["@echo off\r", cmd . "\r"], job.batchfile) - let cmd = s:shellesc(job.batchfile) + let cmd = s:shellesc(expand(job.batchfile)) endif let argv = add(s:is_win ? ['cmd', '/c'] : ['sh', '-c'], cmd) @@ -2037,7 +2035,7 @@ function! s:system(cmd, ...) if s:is_win let batchfile = tempname().'.bat' call writefile(["@echo off\r", cmd . "\r"], batchfile) - let cmd = s:shellesc(batchfile) + let cmd = s:shellesc(expand(batchfile)) endif return system(cmd) finally @@ -2371,7 +2369,7 @@ function! s:preview_commit() if s:is_win let batchfile = tempname().'.bat' call writefile(["@echo off\r", cmd . "\r"], batchfile) - let cmd = batchfile + let cmd = expand(batchfile) endif execute 'silent %!' cmd finally + replug done ```

In the future I'd like to even script adding this output to the Issue, but ya gotta start somewhere!!