jonallured / dotfiles

Here be my dotfiles
7 stars 0 forks source link

Week 5 - magneto #162

Closed jonallured closed 4 years ago

jonallured commented 4 years ago

Terminal Stuff

Filesystem Housekeeping

Check for Updates

Stay in Sync

Finishing Up

jonallured commented 4 years ago

sharpen.log

``` + brew upgrade bat fzf git heroku hokusai hub macvim the_silver_searcher tmux yarn Updating Homebrew... ==> Auto-updated Homebrew! Updated Homebrew from 23108f3c7 to f8a4dd9fc. Updated 4 taps (vapor/tap, heroku/brew, homebrew/core and homebrew/cask). ==> New Formulae asymptote dynet faiss git-gui gitbatch tty-share ==> Updated Formulae aircrack-ng akamai alexjs alpine amtk antlr4-cpp-runtime apibuilder-cli astrometry-net atlantis aws-cdk aws-iam-authenticator awscli axel balena-cli bandwhich baresip bcal benthos bind bnd borgmatic broot calceph calicoctl ccfits certbot cfitsio cfn-lint cgal cglm cheat checkstyle cmake consul-template contentful-cli cpl crc cypher-shell deno direnv docker-compose docutils duplicity dvc elixir erlang exploitdb faas-cli ffmpeg flow folly futhark gdal ghq git gitleaks glooctl gnu-getopt go go@1.12 godep goto gradle grafana graph-tool gspell hadolint healpix helmsman heroku/brew/heroku hugo igraph imagemagick imagemagick@6 interactive-rebase-tool jenkins jenkins-job-builder jenkins-lts jfrog-cli-go just k3d kcov kitchen-sync kobalt kubeless kubeprod kubernetes-cli libexosip libgr libosip libphonenumber libqalculate librealsense libsecret libtensorflow@1 libxlsxwriter llvm lmod macosvpn manticoresearch mavsdk mawk maxima maxwell memcached mesa meson mill minio minio-mc mkl-dnn mmark mpv nativefier ncurses nethack nginx nifi nim ninja nng node nss octant opa openal-soft operator-sdk osquery p11-kit parallel parallelstl passenger pcb petsc petsc-complex pgrouting php php@7.2 php@7.3 phpstan picard-tools pkcs11-helper pmd pre-commit prestosql procs pulumi py3cairo qalculate-gtk qpdf qt quickjs radare2 reminiscence rke rocksdb root rtags salt sbcl scummvm sfcgal sile siril sonobuoy squid stockfish streamlink swagger-codegen@2 swiftformat sync_gateway taskell tbb termtosvg terraform testssl topgrade upx vapor/tap/vapor-beta vault vault-cli vert.x vim vips vulkan-headers wcslib weaver whois wireguard-go wireguard-tools wtf xsimd you-get youtube-dl Warning: bat 0.12.1 already installed Warning: artsy/formulas/hokusai 0.5.7 already installed Warning: macvim 8.1-161 already installed Warning: the_silver_searcher 2.2.0 already installed ==> Upgrading 6 outdated packages: fzf 0.18.0 -> 0.20.0 git 2.24.0 -> 2.25.0_1 heroku/brew/heroku 7.35.0 -> 7.37.0 hub 2.13.0 -> 2.14.1 tmux 2.9a_1 -> 3.0a yarn 1.19.1 -> 1.21.1 ==> Upgrading fzf ==> Downloading https://homebrew.bintray.com/bottles/fzf-0.20.0.catalina.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/0d/0d51962d904b7cd680fd316cc4691b5a562ce1ae77d4dcbfd40006f91c0945d6?__gda__=exp=1580397275~hmac=0ba8c951bec60def26c09e54d4bf709ee13075c9839b5ad3094c6b34b0c79843&response-content-disposition=attachment%3Bfilename%3D%22fzf-0.20.0.catalina.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX19M75yQ5mhCGMrqJ5z1hmIb_fWVJ3eONEj1VJMWbhXi1LAeUd4VuAMZM-379cyMVy7KyVjUS2K9GNBtlDPSkcDNSCz65UX1Lv8mbuXqvG1zRP1d9e4pDPTUa-cxiDghqZWLefTFHDMvjw&response-X-Checksum-Sha1=2b718336a1d2cde3f8d22ab8ac1fb42cec918a08&response-X-Checksum-Sha2=0d51962d904b7cd680fd316cc4691b5a562ce1ae77d4dcbfd40006f91c0945d6 ==> Pouring fzf-0.20.0.catalina.bottle.tar.gz ==> Caveats To install useful keybindings and fuzzy completion: /usr/local/opt/fzf/install To use fzf in Vim, add the following line to your .vimrc: set rtp+=/usr/local/opt/fzf ==> Summary 🍺 /usr/local/Cellar/fzf/0.20.0: 17 files, 3.6MB Removing: /usr/local/Cellar/fzf/0.18.0... (17 files, 3.6MB) ==> Upgrading git ==> Installing dependencies for git: pcre2 ==> Installing git dependency: pcre2 ==> Downloading https://homebrew.bintray.com/bottles/pcre2-10.34.catalina.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/af/af3bf030a455daf0a560f8d9e433f7a803d7150933895699f311d661c33b9729?__gda__=exp=1580397279~hmac=dfdc7aac8a3fdfcd2d3cd705b11f801a5625935333dc2df169a6afd077a4933c&response-content-disposition=attachment%3Bfilename%3D%22pcre2-10.34.catalina.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX18xZfwhCPrUD0oMYPzEKyCy-YQHC0KVZvObCJQIfYLix3IkXtF7e89svnmO2jJMVuvaTTfwprYJ5L9XdfQtMiXVSA6gupBic502SYNVl_W4BHF8xH8cjPQF_SV3KMws9zae03V4jUOC0w&response-X-Checksum-Sha1=aa437abe9a11960d19f9a90d6c4c4732ae16f3cb&response-X-Checksum-Sha2=af3bf030a455daf0a560f8d9e433f7a803d7150933895699f311d661c33b9729 ==> Pouring pcre2-10.34.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/pcre2/10.34: 230 files, 5.9MB ==> Installing git ==> Downloading https://homebrew.bintray.com/bottles/git-2.25.0_1.catalina.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/9a/9ab68a09b14009dd3c28fcd3e6ef98213f675887615cab5c67d62a026ccc019b?__gda__=exp=1580397282~hmac=ed454de3abbfb09a805005fc8679d33c15a9a183f6849887bdeec4226b27ee83&response-content-disposition=attachment%3Bfilename%3D%22git-2.25.0_1.catalina.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1_ApB3pXDrmqkUbJj2JSoxQU4GrWKvqHv4rTNjKDHiJDgBNGHuydN02HdYq8I1IM1dSkVCNbf4LG19l-vWtq4sdWOm6bP-qW3f1zcsqWsUgVHdS2m75BFNIwE7ejmepA_hib3zZfhywsQ&response-X-Checksum-Sha1=3ea9de4e8f941df6dbd6516722b7ad65f98694f5&response-X-Checksum-Sha2=9ab68a09b14009dd3c28fcd3e6ef98213f675887615cab5c67d62a026ccc019b ==> Pouring git-2.25.0_1.catalina.bottle.tar.gz ==> Caveats The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Bash completion has been installed to: /usr/local/etc/bash_completion.d zsh completions and functions have been installed to: /usr/local/share/zsh/site-functions Emacs Lisp files have been installed to: /usr/local/share/emacs/site-lisp/git ==> Summary 🍺 /usr/local/Cellar/git/2.25.0_1: 1,443 files, 43.9MB Removing: /usr/local/Cellar/git/2.24.0... (1,547 files, 45.5MB) ==> Upgrading heroku/brew/heroku Warning: Your Xcode (11.2) is outdated. Please update to Xcode 11.3 (or delete it). Xcode can be updated from the App Store. ==> Downloading https://cli-assets.heroku.com/heroku-v7.37.0/heroku-v7.37.0.tar.xz ==> Caveats To use the Heroku CLI's autocomplete -- Via homebrew's shell completion: 1) Follow homebrew's install instructions https://docs.brew.sh/Shell-Completion NOTE: For zsh, as the instructions mention, be sure compinit is autoloaded and called, either explicitly or via a framework like oh-my-zsh. 2) Then run $ heroku autocomplete --refresh-cache OR Use our standalone setup: 1) Run and follow the install steps: $ heroku autocomplete 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/heroku/7.37.0: 18,759 files, 46.5MB, built in 28 seconds Removing: /usr/local/Cellar/heroku/7.35.0... (29,744 files, 121.9MB) ==> Upgrading hub ==> Downloading https://homebrew.bintray.com/bottles/hub-2.14.1.catalina.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/f0/f092116bb42f4149b0a2abb25ee1752eec32923fe9bd0772607404b3da86e866?__gda__=exp=1580397328~hmac=cdbae1c27cd019e5f0d93ce2bf5f69d3a5612bfe023a95f99887958e493f8d5c&response-content-disposition=attachment%3Bfilename%3D%22hub-2.14.1.catalina.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1-OHn6E2AI8OAFFtjRPvyhTFuMi5lj3hx57IqYOG3JvLW2oPw-W1zWHYjDrxhQ6PRa5mAk17-qrnF9t09Rpu7wSqGWch8TLcyf9EhNbYEIkv3rjHGBrb29Ue_jXbeSNGVN-NPLSlHoRLw&response-X-Checksum-Sha1=78f8f09635d2416bfd24f5fa10a39846a14cc237&response-X-Checksum-Sha2=f092116bb42f4149b0a2abb25ee1752eec32923fe9bd0772607404b3da86e866 ==> Pouring hub-2.14.1.catalina.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.14.1: 64 files, 9.4MB Removing: /usr/local/Cellar/hub/2.13.0... (64 files, 9.4MB) ==> Upgrading tmux ==> Installing dependencies for tmux: libevent and ncurses ==> Installing tmux dependency: libevent ==> Downloading https://homebrew.bintray.com/bottles/libevent-2.1.11_1.catalina.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/9d/9d262f9ffb2268340a89c713826d8ca068bcac06c30baf49e6184ab4660d977a?__gda__=exp=1580397335~hmac=87507da6d58328ea973e2a7ecef812d84775f2a053b0a26b5c432c9d30bbc7d7&response-content-disposition=attachment%3Bfilename%3D%22libevent-2.1.11_1.catalina.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1-gw4YYX2D1HqjsO32yRVHEDGV3C6exqXXw3259CtJ1A7HHOHvF7qbwP0qKvipGU4CkYM0PK6ZVShnDxZ63LZOgX2kuLEgTJOXsF2LYLnROgZwYspURz7jYFAkF-5ttAe10VzdvBNkXWA&response-X-Checksum-Sha1=d40a22b89e0026b1dae19b17743061c740b02772&response-X-Checksum-Sha2=9d262f9ffb2268340a89c713826d8ca068bcac06c30baf49e6184ab4660d977a ==> Pouring libevent-2.1.11_1.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libevent/2.1.11_1: 1,063 files, 5MB ==> Installing tmux dependency: ncurses ==> Downloading https://homebrew.bintray.com/bottles/ncurses-6.1_1.catalina.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/47/4776644ae1dde76e4f1afa169278cd8a8f1b38a845866db57a542829b9c9e60c?__gda__=exp=1580397339~hmac=976b001b4ae6a48815b00e65446d81fa25c58cb56c1e5781a8b4350c0b4bf015&response-content-disposition=attachment%3Bfilename%3D%22ncurses-6.1_1.catalina.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1_53IXZxo-XZ_LAzrkcql3nYL7yQ6kgCVZPAm7ZQFaCiFaGsu1UTgYLkoz5tT_P3MrZPq-usMXwfDHzFLtEv4Xq28GP7x5FreGGICPgGiMSDNs3hgpRI5C6zJKGGUFcA3bSszy7OKCOhQ&response-X-Checksum-Sha1=6ca38de4400bf411dd29834cc6237a8eae21f939&response-X-Checksum-Sha2=4776644ae1dde76e4f1afa169278cd8a8f1b38a845866db57a542829b9c9e60c ==> Pouring ncurses-6.1_1.catalina.bottle.tar.gz ==> Caveats ncurses is keg-only, which means it was not symlinked into /usr/local, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have ncurses first in your PATH run: echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.zshrc For compilers to find ncurses you may need to set: export LDFLAGS="-L/usr/local/opt/ncurses/lib" export CPPFLAGS="-I/usr/local/opt/ncurses/include" For pkg-config to find ncurses you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig" ==> Summary 🍺 /usr/local/Cellar/ncurses/6.1_1: 3,872 files, 8.3MB ==> Installing tmux ==> Downloading https://homebrew.bintray.com/bottles/tmux-3.0a.catalina.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/3d/3d29caf7e2b87c9f1af575b4ec10af3e29c5de6979a8bd884153d9e8e1b69f20?__gda__=exp=1580397345~hmac=22fb7cfe6fcd9a786e1d5fea96c8c8e6b5f443987b0c98a5a132a6476da3fac6&response-content-disposition=attachment%3Bfilename%3D%22tmux-3.0a.catalina.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1-_CvWCeTAvZ-pLpLsJzzP-BTNCGK8JKHJh9FqC1e7QKgrA4eFQ3G1NgxSgnsjzhS9r_aKBKGpUU7ZzNLlhV3iIqAip_4L-WPHNqjcTVBHdQkxb50mli3ENBLM27cI9S0Nl6RJka17Yiw&response-X-Checksum-Sha1=26a7f78631d96a110527f68a118f579edd46460d&response-X-Checksum-Sha2=3d29caf7e2b87c9f1af575b4ec10af3e29c5de6979a8bd884153d9e8e1b69f20 ==> Pouring tmux-3.0a.catalina.bottle.tar.gz ==> Caveats Example configuration has been installed to: /usr/local/opt/tmux/share/tmux Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> Summary 🍺 /usr/local/Cellar/tmux/3.0a: 9 files, 802.6KB Removing: /usr/local/Cellar/tmux/2.9a_1... (10 files, 748.5KB) ==> Upgrading yarn ==> Installing dependencies for yarn: node ==> Installing yarn dependency: node ==> Downloading https://homebrew.bintray.com/bottles/node-13.7.0.catalina.bottle.1.tar.gz ==> Downloading from https://akamai.bintray.com/ba/ba5bd9a80c8969a10df981521dde63fc8e2e2fdca97c0be7239d75cf9df80f92?__gda__=exp=1580397347~hmac=15ca472405a8efb2cd37db47a0503a831f3b8bc9b7f4ac627fcfd1da1b125aa5&response-content-disposition=attachment%3Bfilename%3D%22node-13.7.0.catalina.bottle.1.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1-Ij-Doe1hpw66NyZiPeQ6jH8BBZsTtu9OZG_zlsWAB63BBYMq6tkLxal1_1SFLAJ1a2oOqsO-4s4j6YG2TBsOFB-dabC_2irw90_tDguOygKKBnxI5LKaKfK2EJlvIJsZiS3WxXi6aJA&response-X-Checksum-Sha1=a219fbec5c8a68366be64c33aa0177fd943d75a4&response-X-Checksum-Sha2=ba5bd9a80c8969a10df981521dde63fc8e2e2fdca97c0be7239d75cf9df80f92 ==> Pouring node-13.7.0.catalina.bottle.1.tar.gz ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> Summary 🍺 /usr/local/Cellar/node/13.7.0: 4,663 files, 60.2MB ==> Installing yarn ==> Downloading https://yarnpkg.com/downloads/1.21.1/yarn-v1.21.1.tar.gz ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/49970642/74be2080-1bb1-11ea-934d-6ec62e510102?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200130%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200130T150413Z&X-Amz-Expires=300&X-Amz-Signature=d3c710ab434026e66f1b6d23755be03f9a64bdd889409bece74aacf94bd7050d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyarn-v1.21.1.tar.gz&response-content-type=application%2Foctet-stream 🍺 /usr/local/Cellar/yarn/1.21.1: 14 files, 5MB, built in 5 seconds Removing: /usr/local/Cellar/yarn/1.19.1... (14 files, 5MB) ==> Checking for dependents of upgraded formulae... ==> No dependents found! ==> Caveats ==> fzf To install useful keybindings and fuzzy completion: /usr/local/opt/fzf/install To use fzf in Vim, add the following line to your .vimrc: set rtp+=/usr/local/opt/fzf ==> git The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Bash completion has been installed to: /usr/local/etc/bash_completion.d zsh completions and functions have been installed to: /usr/local/share/zsh/site-functions Emacs Lisp files have been installed to: /usr/local/share/emacs/site-lisp/git ==> heroku To use the Heroku CLI's autocomplete -- Via homebrew's shell completion: 1) Follow homebrew's install instructions https://docs.brew.sh/Shell-Completion NOTE: For zsh, as the instructions mention, be sure compinit is autoloaded and called, either explicitly or via a framework like oh-my-zsh. 2) Then run $ heroku autocomplete --refresh-cache OR Use our standalone setup: 1) Run and follow the install steps: $ heroku autocomplete Bash completion has been installed to: /usr/local/etc/bash_completion.d zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> 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 ==> ncurses ncurses is keg-only, which means it was not symlinked into /usr/local, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have ncurses first in your PATH run: echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.zshrc For compilers to find ncurses you may need to set: export LDFLAGS="-L/usr/local/opt/ncurses/lib" export CPPFLAGS="-I/usr/local/opt/ncurses/include" For pkg-config to find ncurses you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig" ==> tmux Example configuration has been installed to: /usr/local/opt/tmux/share/tmux Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> node Bash completion has been installed to: /usr/local/etc/bash_completion.d + set -e + asdf update From https://github.com/asdf-vm/asdf - [deleted] (none) -> origin/Stratus3D-patch-1 * [new branch] commands -> origin/commands * [new branch] extension-commands -> origin/extension-commands * [new branch] gh-actions -> origin/gh-actions * [new branch] improve-export-shell -> origin/improve-export-shell c3ad7e0..94db44b master -> origin/master * [new branch] plugin-test-use-latest -> origin/plugin-test-use-latest * [new branch] show-git-revision -> origin/show-git-revision * [new tag] v0.7.6 -> v0.7.6 Previous HEAD position was c3ad7e0 Update version to 0.7.5 HEAD is now at 6207e42 Update version to 0.7.6 Updated asdf to release v0.7.6 + asdf plugin-update --all Updating nodejs... From https://github.com/asdf-vm/asdf-nodejs 8e369a5..c6e7e72 master -> master 8e369a5..c6e7e72 master -> origin/master Already on 'master' Your branch is up to date with 'origin/master'. Updating python... Already on 'master' Your branch is up to date with 'origin/master'. Updating ruby... From https://github.com/asdf-vm/asdf-ruby 9ae5cd3..86cb286 master -> master 9ae5cd3..86cb286 master -> origin/master Already on 'master' Your branch is up to date with 'origin/master'. + asdf reshim + gem update --system Updating rubygems-update Successfully installed rubygems-update-3.1.2 Installing RubyGems 3.1.2 Successfully built RubyGem Name: bundler Version: 2.1.2 File: bundler-2.1.2.gem Bundler 2.1.2 installed RubyGems 3.1.2 installed Regenerating binstubs === 3.1.2 / 2019-12-20 Minor enhancements: * Restore non prompting `gem update --system` behavior. Pull request #3040 by David Rodríguez. * Show only release notes for new code installed. Pull request #3041 by David Rodríguez. * Inform about installed `bundle` executable after `gem update --system`. Pull request #3042 by David Rodríguez. * Use Bundler 2.1.2. Pull request #3043 by SHIBATA Hiroshi. Bug fixes: * Require `uri` in source.rb. Pull request #3034 by mihaibuzgau. * Fix `gem update --system --force`. Pull request #3035 by David Rodríguez. * Move `require uri` to source_list. Pull request #3038 by mihaibuzgau. === 3.1.1 / 2019-12-16 Bug fixes: * Vendor Bundler 2.1.0 again. The version of Bundler with RubyGems 3.1.0 was Bundler 2.1.0.pre.3. Pull request #3029 by SHIBATA Hiroshi. === 3.1.0 / 2019-12-16 Major enhancements: * Vendor bundler 2.1. Pull request #3028 by David Rodríguez. Minor enhancements: * Check for rubygems.org typo squatting sources. Pull request #2999 by Luis Sagastume. * Refactor remote fetcher. Pull request #3017 by David Rodríguez. * Lazily load `open3`. Pull request #3001 by David Rodríguez. * Remove `delegate` dependency. Pull request #3002 by David Rodríguez. * Lazily load `uri`. Pull request #3005 by David Rodríguez. * Lazily load `rubygems/gem_runner` during tests. Pull request #3009 by David Rodríguez. * Use bundler to manage development dependencies. Pull request #3012 by David Rodríguez. Bug fixes: * Remove unnecessary executable flags. Pull request #2982 by David Rodríguez. * Remove configuration that contained a typo. Pull request #2989 by David Rodríguez. Compatibility changes: * Remove 1.8.7 leftovers. Pull request #2972 by David Rodríguez. * Deprecate `gem generate_index --modern` and `gem generate_index --no-modern`. Pull request #2992 by David Rodríguez. === 3.1.0.pre3 / 2019-11-11 Minor enhancements: * Fix gem pristine not accounting for user installed gems. Pull request #2914 by Luis Sagastume. * Refactor keyword argument test for Ruby 2.7. Pull request #2947 by SHIBATA Hiroshi. * Fix errors at frozen Gem::Version. Pull request #2949 by Nobuyoshi Nakada. * Remove taint usage on Ruby 2.7+. Pull request #2951 by Jeremy Evans. * Check Manifest.txt is up to date. Pull request #2953 by David Rodríguez. * Clarify symlink conditionals in tests. Pull request #2962 by David Rodríguez. * Update command line parsing to work under ps. Pull request #2966 by David Rodríguez. * Properly test `Gem::Specifications.stub_for`. Pull request #2970 by David Rodríguez. * Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request #2985 by MSP-Greg. === 3.1.0.pre2 / 2019-10-15 Minor enhancements: * Optimize Gem::Package::TarReader#each. Pull request #2941 by Jean byroot Boussier. * Time comparison around date boundary. Pull request #2944 by Nobuyoshi Nakada. === 3.1.0.pre1 / 2019-10-08 Major enhancements: * Try to use bundler-2.1.0.pre.2. Pull request #2923 by SHIBATA Hiroshi. * [Require] Ensure -I beats a default gem. Pull request #1868 by Samuel Giddins. * [Specification] Prefer user-installed gems to default gems. Pull request #2112 by Samuel Giddins. * Multifactor authentication for yank command. Pull request #2514 by Qiu Chaofan. * Autoswitch to exact bundler version if present. Pull request #2583 by David Rodríguez. Minor enhancements: * Fix Gem::Requirement equality comparison when ~> operator is used. Pull request #2554 by Grey Baker. * Don't use a proxy if https_proxy env var is empty. Pull request #2567 by Luis Sagastume. * Fix typo in specs warning. Pull request #2585 by Rui. * Bin/gem: remove initial empty line. Pull request #2602 by Kenyon Ralph. * Avoid rdoc hook when it's failed to load rdoc library. Pull request #2604 by SHIBATA Hiroshi. * Refactor get_proxy_from_env logic. Pull request #2611 by Luis Sagastume. * Allow to easily bisect flaky failures. Pull request #2626 by David Rodríguez. * Fix `--ignore-dependencies` flag not installing platform specific gems. Pull request #2631 by David Rodríguez. * Make `gem install --explain` list platforms. Pull request #2634 by David Rodríguez. * Make `gem update --explain` list platforms. Pull request #2635 by David Rodríguez. * Refactoring install and update explanations. Pull request #2643 by David Rodríguez. * Restore transitiveness of version comparison. Pull request #2651 by David Rodríguez. * Undo requirement sorting. Pull request #2652 by David Rodríguez. * Update dummy version of Bundler for #2581. Pull request #2584 by SHIBATA Hiroshi. * Ignore to handle the different platform. Pull request #2672 by SHIBATA Hiroshi. * Make Gem::Specification.default_stubs to public methods. Pull request #2675 by SHIBATA Hiroshi. * Sort files and test_files in specifications. Pull request #2524 by Christopher Baines. * Fix comment of Gem::Specification#required_ruby_version=. Pull request #2732 by Alex Junger. * Config_file.rb - update path separator in ENV['GEMRC'] logic. Pull request #2735 by MSP-Greg. * Fix `ruby setup.rb` warnings. Pull request #2737 by David Rodríguez. * Don't use regex delimiters when searching for a dependency. Pull request #2738 by Luis Sagastume. * Refactor query command. Pull request #2739 by Luis Sagastume. * Don't remove default spec files from mapping after require. Pull request #2741 by David Rodríguez. * Cleanup base test case. Pull request #2742 by David Rodríguez. * Simplify Specification#gems_dir. Pull request #2745 by David Rodríguez. * Fix test warning. Pull request #2746 by David Rodríguez. * Extract an `add_to_load_path` method. Pull request #2749 by David Rodríguez. * Fix setup command if format_executable is true by default. Pull request #2766 by Jeremy Evans. * Update the certificate files to make the test pass on Debian 10. Pull request #2777 by Yusuke Endoh. * Write to the correct config file(.gemrc). Pull request #2779 by Luis Sagastume. * Fix for large values in UID/GID fields in tar archives. Pull request #2780 by Alexey Shein. * Lazy require stringio. Pull request #2781 by Luis Sagastume. * Make Gem::Specification#ruby_code handle OpenSSL::PKey::RSA objects. Pull request #2782 by Luis Sagastume. * Fix setup command test for bundler with program_suffix. Pull request #2783 by Sorah Fukumori. * Make sure `rake package` works. Pull request #2787 by David Rodríguez. * Synchronize access to the Gem::Specification::LOAD_CACHE Hash. Pull request #2789 by Benoit Daloze. * Task to install rubygems to local system. Pull request #2795 by David Rodríguez. * Add an attr_reader to Gem::Installer for the package instance variable. Pull request #2796 by Daniel Berger. * Switch CI script to bash. Pull request #2799 by David Rodríguez. * Move gemcutter utilities code to Gem::Command. Pull request #2803 by Luis Sagastume. * Add raw spec method to gem package. Pull request #2806 by Luis Sagastume. * Improve `rake package` test error message. Pull request #2815 by David Rodríguez. * Resolve `@@project_dir` from test file paths. Pull request #2843 by Nobuyoshi Nakada. * Remove dead code in Gem::Validator. Pull request #2537 by Ellen Marie Dash. * The date might have advanced since TODAY has been set. Pull request #2938 by Nobuyoshi Nakada. * Remove old ci configurations. Pull request #2917 by SHIBATA Hiroshi. * Add Gem::Dependency identity. Pull request #2936 by Luis Sagastume. * Filter dependency type and name strictly. Pull request #2930 by SHIBATA Hiroshi. * Always pass an encoding option to Zlib::GzipReader.wrap. Pull request #2933 by Nobuyoshi Nakada. * Introduce default prerelease requirement. Pull request #2925 by David Rodríguez. * Detect libc version, closes #2918. Pull request #2922 by fauno. * Use IAM role to extract security-credentials for EC2 instance. Pull request #2894 by Alexander Pakulov. * Improve `gem uninstall --all`. Pull request #2893 by David Rodríguez. * Use `RbConfig::CONFIG['rubylibprefix']`. Pull request #2889 by Nobuyoshi Nakada. * Build the first gemspec we found if no arguments are passed to gem build. Pull request #2887 by Luis Sagastume. * $LOAD_PATH elements should be real paths. Pull request #2885 by Nobuyoshi Nakada. * Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION. Pull request #2864 by Benoit Daloze. * Cleanup after testing `rake package`. Pull request #2862 by David Rodríguez. * Cherry-pick shushing deprecation warnings from ruby-core. Pull request #2861 by David Rodríguez. * Ext/builder.rb cleanup. Pull request #2849 by Luis Sagastume. * Fix @ran_rake assignment in builder.rb. Pull request #2850 by Luis Sagastume. * Remove test suite warnings. Pull request #2845 by Luis Sagastume. * Replace domain parameter with a parameter to suppress suggestions. Pull request #2846 by Luis Sagastume. * Move default specifications dir definition out of BasicSpecification. Pull request #2841 by Vít Ondruch. * There is no usage of @orig_env_* variables in test suite. Pull request #2838 by SHIBATA Hiroshi. * Use File#open instead of Kernel#open in stub_specification.rb. Pull request #2834 by Luis Sagastume. * Simplify #to_ruby code. Pull request #2825 by Nobuyoshi Nakada. * Add a gem attr to the Gem::Package class. Pull request #2828 by Daniel Berger. * Remove useless TODO comment. Pull request #2818 by Luis Sagastume. Bug fixes: * Fix typos in History.txt. Pull request #2565 by Igor Zubkov. * Remove unused empty sources array. Pull request #2598 by Aaron Patterson. * Fix windows specific executables generated by `gem install`. Pull request #2628 by David Rodríguez. * Gem::Specification#to_ruby needs OpenSSL. Pull request #2937 by Nobuyoshi Nakada. * Set SOURCE_DATE_EPOCH env var if not provided. Pull request #2882 by Ellen Marie Dash. * Installer.rb - fix #windows_stub_script. Pull request #2876 by MSP-Greg. * Fixed deprecation message. Pull request #2867 by Nobuyoshi Nakada. * Fix requiring default gems to consider prereleases. Pull request #2728 by David Rodríguez. * Forbid `find_spec_for_exe` without an `exec_name`. Pull request #2706 by David Rodríguez. * Do not prompt for passphrase when key can be loaded without it. Pull request #2710 by Luis Sagastume. * Add missing wrapper. Pull request #2690 by David Rodríguez. * Remove long ago deprecated methods. Pull request #2704 by David Rodríguez. * Renamed duplicate test. Pull request #2678 by Nobuyoshi Nakada. * File.exists? is deprecated. Pull request #2855 by SHIBATA Hiroshi. * Fixed to warn with shadowing outer local variable. Pull request #2856 by SHIBATA Hiroshi. * Fix explain with ignore-dependencies. Pull request #2647 by David Rodríguez. * Fix default gem executable installation when folder is not `bin/`. Pull request #2649 by David Rodríguez. * Fix cryptic error on local and ignore-dependencies combination. Pull request #2650 by David Rodríguez. Compatibility changes: * Remove commented code from command.rb. Pull request #2620 by Luis Sagastume. * Suppress keywords warning. Pull request #2934 by Nobuyoshi Nakada. * Suppress Ruby 2.7's real kwargs warning. Pull request #2912 by Koichi ITO. * Fix Kernel#warn override. Pull request #2911 by Jeremy Evans. * Make deprecate Gem::RubyGemsVersion and Gem::ConfigMap. Pull request #2857 by SHIBATA Hiroshi. * Deprecate Gem::RemoteFetcher#fetch_size. Pull request #2833 by Luis Sagastume. * Remove conflict.rb code that was supposed to be removed in Rubygems 3. Pull request #2802 by Luis Sagastume. * Explicitly deprecate `rubyforge_project`. Pull request #2798 by David Rodríguez. * Compatibility cleanups. Pull request #2754 by David Rodríguez. * Remove `others_possible` activation request param. Pull request #2747 by David Rodríguez. * Remove dependency installer deprecated code. Pull request #2740 by Luis Sagastume. * Deprecate unused Gem::Installer#unpack method. Pull request #2715 by Vít Ondruch. * Removed guard condition with USE_BUNDLER_FOR_GEMDEPS. Pull request #2716 by SHIBATA Hiroshi. * Skip deprecation warning during specs. Pull request #2718 by David Rodríguez. * Remove QuickLoader reference. Pull request #2719 by David Rodríguez. * Removed circular require. Pull request #2679 by Nobuyoshi Nakada. * Removed needless environmental variable for Travis CI. Pull request #2685 by SHIBATA Hiroshi. * Deprecate a few unused methods. Pull request #2674 by David Rodríguez. * Removing yaml require. Pull request #2538 by Luciano Sousa. * Add deprecation warnings for cli options. Pull request #2607 by Luis Sagastume. Style changes: * Enable `Layout/SpaceInsideParens` rubocop cop. Pull request #2630 by David Rodríguez. * Remove some extra empty lines from the repo. Pull request #2669 by David Rodríguez. * Enable Style/EmptyLinesAroundClassBody rubocop cop. Pull request #2636 by David Rodríguez. * Enable Style/BlockDelimiters rubocop cop. Pull request #2640 by David Rodríguez. * Enable Layout/SpaceAroundOperators rubocop cop. Pull request #2642 by David Rodríguez. * Rubocop 0.71. Pull request #2785 by David Rodríguez. ------------------------------------------------------------------------------ RubyGems installed the following executables: /Users/jon/.asdf/installs/ruby/2.6.2/bin/gem /Users/jon/.asdf/installs/ruby/2.6.2/bin/bundle RubyGems system software updated + npm install --global npm /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 /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 > env-paths@2.2.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 > gentle-fs@2.3.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/gentle-fs > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > get-caller-file@1.0.3 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/get-caller-file > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > https-proxy-agent@2.2.4 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/https-proxy-agent > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > invert-kv@2.0.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/invert-kv > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > lcid@2.0.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/lcid > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > make-fetch-happen@5.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 > mimic-fn@2.1.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/mem/node_modules/mimic-fn > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > nice-try@1.0.5 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/nice-try > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > node-gyp@5.0.7 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-normalize-package-bin@1.0.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/npm-normalize-package-bin > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > bin-links@1.1.7 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/bin-links > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > npm-bundled@1.1.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/npm-bundled > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > npm-packlist@1.4.7 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/npm-packlist > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > cross-spawn@6.0.5 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/os-locale/node_modules/cross-spawn > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > execa@1.0.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/os-locale/node_modules/execa > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > p-defer@1.0.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/p-defer > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > map-age-cleaner@0.1.3 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/map-age-cleaner > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > p-is-promise@2.1.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/p-is-promise > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > mem@4.3.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/mem > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > os-locale@3.1.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/os-locale > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > pacote@9.5.12 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/pacote > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > read-package-json@2.1.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/read-package-json > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > smart-buffer@4.1.0 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/smart-buffer > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > socks@2.3.3 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/socks > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > yargs@11.1.1 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/yargs > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > libnpx@10.2.2 postinstall /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/npm/node_modules/libnpx > /Users/jon/.asdf/installs/nodejs/10.15.1/.npm/lib/node_modules/.hooks/postinstall > npm@6.13.7 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.13.7 added 8 packages from 4 contributors, removed 4 packages and updated 20 packages in 12.186s + nuke_modules /Users/jon/code/monolithium/node_modules /Users/jon/code/pear/node_modules /Users/jon/code/pulse/node_modules /Users/jon/code/forty-web/node_modules 678M cleaned up ```

replug.log

``` + PlugClean Searching for invalid plugins in /Users/jon/.vim/plugs [=========================================================] Already clean. + PlugInstall Updated. Elapsed time: 1.571862 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: 5.451944 sec. [========================================================] - Finishing ... Done! - vim-cucumber: create mode 100644 .github/FUNDING.yml - vim-javascript: 1 file changed, 1 insertion(+), 1 deletion(-) - typescript-vim: 2 files changed, 13 insertions(+), 8 deletions(-) - vim-git: create mode 100644 .github/FUNDING.yml - bufkill.vim: Already up to date. - fzf: create mode 100644 src/protector/protector_openbsd.go - vim-hashrocket: Already up to date. - vim-rake: create mode 100644 .github/FUNDING.yml - vim-turbux: Already up to date. - vim-pug: Already up to date. - vim-ruby: 4 files changed, 15 insertions(+), 2 deletions(-) - vim-endwise: create mode 100644 .github/FUNDING.yml - vim-textobj-user: Already up to date. - vim-scriptease: create mode 100644 .github/FUNDING.yml - vim-json: Already up to date. - vim-rsi: create mode 100644 .github/FUNDING.yml - vim-unimpaired: create mode 100644 .github/FUNDING.yml - tslime.vim: Already up to date. - vim-vividchalk: create mode 100644 .github/FUNDING.yml - vim-coffee-script: Already up to date. - vim-rhubarb: create mode 100644 .github/FUNDING.yml - vim-markdown: create mode 100644 .github/FUNDING.yml - vim-eunuch: create mode 100644 .github/FUNDING.yml - vim-vinegar: create mode 100644 .github/FUNDING.yml - vim-repeat: create mode 100644 .github/FUNDING.yml - vim-rails: create mode 100644 .github/FUNDING.yml - vim-slim: Already up to date. - vim-sensible: create mode 100644 .github/FUNDING.yml - vim-commentary: create mode 100644 .github/FUNDING.yml - vim-blockle: Already up to date. - ale: create mode 100644 test/fixers/test_nimpretty_fixer_callback.vader - vim-fugitive: 4 files changed, 874 insertions(+), 645 deletions(-) - supertab: Already up to date. - vim-sleuth: create mode 100644 .github/FUNDING.yml - ack.vim: Already up to date. - vim-spacejam: Already up to date. - bufexplorer.zip: Already up to date. - vim-railscasts: Already up to date. - vim-ragtag: create mode 100644 .github/FUNDING.yml - vim-projectionist: create mode 100644 .github/FUNDING.yml - vim-surround: create mode 100644 .github/FUNDING.yml - vim-headfirst: Already up to date. - vim-bdubs: Already up to date. - vim-weefactor: Already up to date. - pgsql.vim: Already up to date. - gitv: Already up to date. - vim-irblack: Already up to date. - vim-textobj-rubyblock: Already up to date. - tabular: Already up to date. - vim-speeddating: create mode 100644 .github/FUNDING.yml - vim-bundler: create mode 100644 .github/FUNDING.yml - vim-haml: create mode 100644 .github/FUNDING.yml - splitjoin.vim: create mode 100644 ftplugin/typescriptreact/splitjoin.vim - vim-jsx: Already up to date. - vim-abolish: create mode 100644 .github/FUNDING.yml - vim-styled-components: Already up to date. + PlugDiff 31 plugin(s) updated. [========================================================] Last update: ------------ - ale: * 4afbf2f Merge pull request #2908 from af/patch-1 (4 weeks ago) |\ | * 31715ff Fix for incorrect eslint output parsing for graphql files (10 weeks ago) * | 72d2c55 Mypy: try to find folder containing mypy.ini to use as cwd. (#2385) (4 weeks ago) * | 57eba1a Fix the build (4 weeks ago) * | 8c4c8df Fix #2704 - Show mypy notes; can be disabled (4 weeks ago) * | 0cb432c Add TypeScript autoimport support for deoplete (#2779) (4 weeks ago) * | 874c98b Make it more obvious you can use popup in completeopt now (4 weeks ago) * | 7a4f5ce Merge pull request #2942 from PsiPhire/master (4 weeks ago) |\ \ | * | 4cbe161 Allow popup to be used instead of preview in completeopt (6 weeks ago) * | | 6ad8836 Merge pull request #2937 from kevinoid/eslint-run-from-project-root (4 weeks ago) |\ \ \ | * | | 9ee57d4 Run ESLint from project root dir where possible (6 weeks ago) | |/ / * | | 8148a67 Documented g:ale_hover_to_preview (4 weeks ago) * | | 25e4575 Merge pull request #2828 from akhilman/hover-to-preview (4 weeks ago) |\ \ \ | |/ / |/| | | * | 31d6f72 Add option to show hover messages in preview. (4 months ago) | / * | 5f84325 Add a Help Wanted message in case people are interested (8 weeks ago) * | d8195e9 Merge pull request #2910 from hsanson/2891-fix-eslinter-json-parser (9 weeks ago) |\ \ | |/ |/| | * 5f95d03 Fix 2891 - eslint not showing errors. (9 weeks ago) |/ * b91d82b Merge pull request #2847 from DonnieWest/allowUserToCustomizeItems (3 months ago) |\ | * e2a6781 Add tagged entry for symbols to documentation (3 months ago) | * e6ee613 Switch variables to dictionary key (3 months ago) | * 6637de4 Add scriptencoding to `completion.vim` (3 months ago) | * 5985f8b Fix typo (3 months ago) | * 9779214 Add documentation for ale-symbols feature (3 months ago) | * 0b5fcba Allow the user to set their own completion values (3 months ago) * 9005a62 Clean up the nimpretty code (3 months ago) * 7665559 Merge pull request #2660 from YPCrumble/master (3 months ago) |\ | * ea91209 Allow the use of StandardX for StandardJS linting and fixing. See https://github.com/standard/standardx (3 months ago) | * cf5120b Remove standardts fixer in favor of allowing standard.vim fixer to handle JavaScript or TypeScript options. (3 months ago) | * 79e9ae4 Make sure README and docs are synced. (3 months ago) | * 9017d3e Add StandardJS for TypeScript linting and fixing. (3 months ago) * 66a8df0 Merge pull request #2890 from nhanb/master (3 months ago) |\ | * abad8e4 add nimpretty fixer (3 months ago) * b76165a Merge pull request #2889 from zigford/powershell-7-errorview (3 months ago) * f09cc26 Default errorview in pwsh7 now concise (3 months ago) - fzf: * 3918c45 Update copyright year (#1832) (6 days ago) * 4ec4033 Update Neovim floating window example to have border (8 days ago) * e01266f Period. (11 days ago) * f246fb2 Show error message when failed to start preview command (#1810) (11 days ago) * f7b26b3 [zsh-completion] Fix quoting/splitting issues (#1820) (11 days ago) * a1bcdc2 Add pledge(2) support (OpenBSD only) via a 'protector' package. (#1297) (11 days ago) * 7771241 Fix F1, F2, F3, F4 on rxvt-unicode (13 days ago) * 6e3af64 Draw spinner with Unicode characters (2 weeks ago) * 82bf8c1 [bash] Populate emacs and vi keymaps (#1815) (3 weeks ago) * e21b001 [vim] Use iconv only if +iconv is enabled (#1813) (3 weeks ago) * 577024f Use rounded corners (4 weeks ago) * d4ad4a2 [bash-completion] Fix default alias/variable completion (6 weeks ago) * 30577b0 (tag: 0.20.0) 0.20.0 (6 weeks ago) * 212de25 Fix incorrect header array mutation (6 weeks ago) * 5da8bbf [vim] Encode list source to codepage (#1794) (6 weeks ago) * aa0e10e [vim] Use cterm colors on Windows (#1793) (7 weeks ago) * a9906c7 Add MSYS2 support as a vim plugin (#1677) (7 weeks ago) * 9fefe08 Revert README as preview-{fg,bg} are only available on master (7 weeks ago) * 684bfff Update README/CHANGELOG (7 weeks ago) * 3db6b88 Add preview-fg and preview-bg for --color (7 weeks ago) * 8ae9677 Gutter color of 16-color theme should be undefined by default (7 weeks ago) * f68017d [windows/vim] Encode batchfile in current codepage (7 weeks ago) * 2b725a4 Defer resetting multi-selection on reload (7 weeks ago) * af1a5f1 Add clear-query and clear-selection (8 weeks ago) * 86e3994 Properly clear list when --header-lines not filled on reload (8 weeks ago) * 1e6ac55 'reload' action should be allowed even where there's no match (8 weeks ago) * 5e42b1c [ssh completion] Skip only aliases matching * (#1788) (8 weeks ago) * 9d84263 Mention _fzf_setup_completion helper function for bash (8 weeks ago) * 77cb906 [completion] Add support for HostName lines in ~/.ssh/config (#1785) (8 weeks ago) * a59e846 Update installation instruction (8 weeks ago) * 6e6340a Ignore `zcompile` output files (*.zwc files) (#1775) (8 weeks ago) * 357e82e [completion] Ignore hg repos (#1777) (8 weeks ago) * 394d8cf Remove immediate flickering on reload action (8 weeks ago) * ef80bd4 Update installation instruction using Linux package managers (9 weeks ago) * f51d61d [zsh] Prevent the current directory from appearing as `~dir` in prompts (#1774) (9 weeks ago) * 1dd256a Update README-VIM (9 weeks ago) * 85644aa Revamp README-VIM.md (10 weeks ago) * effbc25 Update CHANGELOG (2 months ago) * e615600 Allow action composition over multiple --bind (2 months ago) * 60465c4 Fix parse error of --bind expression (2 months ago) * c03c058 [install] Support busybox uname on Windows (#1758) (3 months ago) * 7238c89 Update CHANGELOG (3 months ago) * 9a41fd5 (tag: 0.19.0) 0.19.0 (3 months ago) * b471042 Merge branch 'devel' (3 months ago) * 2886f06 Fix --preview-window noborder with non-default background color (3 months ago) * d630484 Update error message for --preview-window (3 months ago) * e242992 Add `--preview-window noborder` option to disable preview border (3 months ago) * d2fa470 Add --info=STYLE [default|inline|hidden] (3 months ago) * 168453d More key chords for --bind (3 months ago) * 23a06d6 Update CHANGELOG and man pages (3 months ago) * 751aa19 Remove trailing whitespaces when using --with-nth (3 months ago) * 05b5f3f 'reload' action should reset multi-selection (3 months ago) * 7e1c0f3 'reload' action should reset --header-lines (3 months ago) * deccf20 Fix regression of select-all (3 months ago) * 73c0a64 Remove unnecessary reader barrier on --filter mode (3 months ago) * e975bd0 Add test cases for --phony and reload action (3 months ago) * 78da928 Experimental implementation of "reload" action (3 months ago) * 11962da Add --phony option for disabling search (3 months ago) - splitjoin.vim: * 47b1323 TravisCI: Make sure to install bundler (4 weeks ago) * 7daa7ca Add Gemfile.lock (4 weeks ago) * 56bb56e Separate handling of structs and other stuff with curly brackets (5 weeks ago) * d023357 Inline helper functions (5 weeks ago) * d7303c2 Merge pull request #156 from sobolevn/patch-1 (5 weeks ago) |\ | * 26ffee1 Update README.md with svg badge (5 weeks ago) * | 0211694 Use existing sj#Keeppatterns function, apply everywhere (5 weeks ago) * | 49f4b8f Don't mess with history in go splits (5 weeks ago) * | bbb63c6 Fix and improve go support for function splitting (5 weeks ago) |/ * 58cd1ee Support javascriptreact and typescriptreact filetypes (5 weeks ago) * 238a4c9 (tag: v1.0.0) Version bump (5 weeks ago) * 3a9e9ae New demo gif in the README (5 weeks ago) * 2d10f3a Replace <<- heredocs with <<~ ones in specs (6 weeks ago) * 2f4bfb4 Avoid local issues with PHP specs (6 weeks ago) * 0aafe35 Ruby fixes (6 weeks ago) * bd8198f Don't check indentation in HTML tests (6 weeks ago) * d0cd9c5 README (6 weeks ago) * b9cf67e Documentation (6 weeks ago) * 31670b8 Documentation update (6 weeks ago) * bda39e8 Update Gemfile (6 weeks ago) * 45fed7f Make sure matchit is enabled for Ruby (6 weeks ago) * c78e691 Disable trailing commas for JSON (6 weeks ago) - typescript-vim: * 616186f Merge pull request #174 from pappasam/fix-typescriptFuncKeyword (6 weeks ago) |\ | * 3d9b0e5 typesciptFuncKeyword is Keyword, not Function (6 weeks ago) | * 323232d Remove trailing whitespace (6 weeks ago) |/ * 2ca6afd Merge pull request #172 from OminousWater/master (6 weeks ago) * 09cf6a6 Updated installation instructions to working command line for Powershell (8 weeks ago) - vim-abolish: * 7e4da6e Remove debugging variables (3 months ago) * 468af51 Add sponsor button (3 months ago) - vim-bundler: * 0396ce1 Add sponsor button (3 months ago) - vim-commentary: * f8238d7 Use React friendly nesting variant (2 months ago) * 3e5d04d Add sponsor button (3 months ago) - vim-cucumber: * 178d6a8 (tag: vim8.1) Sync with official runtime files (9 weeks ago) * 2706728 Add sponsor button (3 months ago) - vim-endwise: * bf90d8b Use case sensitive operators (3 months ago) * ef9097d Add sponsor button (3 months ago) - vim-eunuch: * 33e875b Only use setfperm() for URLs (2 weeks ago) * 75efe06 Add sponsor button (3 months ago) - vim-fugitive: * 268a9c1 Don't make assumptions about current line number when displaying commit (4 days ago) * fc01995 Extend nvim carriage return workaround to ptys (4 days ago) * d926e3b Try to wipe out temp buffer from :read (4 days ago) * 40872a9 Don't use job pty unless Vim supports it (4 days ago) * 279d56e Show unpulled before unpushed (4 days ago) * 54b308e Revert work in progress changes (4 days ago) * 655f7c9 Show unpushed and unpulled sections for both upstream and push (5 days ago) * 477f26c Include refs/heads in constructed push commands (5 days ago) * 76ffaf4 Recognize pull.rebase=preserve in :Gstatus (5 days ago) * 90b7d98 Temporarily restore User Fugitive autocommand (5 days ago) * 4637aca Remove tags file warning (6 days ago) * cd7db1d Replace old public detection API with hint errors (6 days ago) * 036fe0f Job environment variables are broken on Neovim (6 days ago) * 2225561 Replace :Gcommit/:Grevert with standard job runner (7 days ago) * c989c1f Replace :Grebase/:Gmerge/:Gpull with standard job runner (7 days ago) * 6b18f7b Remove :Gwrite in :Git diff (7 days ago) * 8d6f973 Use jobs for :Git (7 days ago) * 4301c57 Extract helper script creator function (7 days ago) * 7f22cc6 Revert "Specify shell command, not wrapper, in b:dispatch" (7 days ago) * 9d62c67 Remove legacy autocommands (8 days ago) * 71038e8 Try to use relative path for :Ggrep (9 days ago) * 21ed533 (tag: v3.2) fugitive.vim 3.2 (9 days ago) * 29153d5 Provide git config --get-all wrapper (10 days ago) * 8d4b85e Replace --format with --pretty=format for older Git (10 days ago) * 708595d Fix comment typo (10 days ago) * dc6719e Fix :Gdiffsplit! help typo (10 days ago) * c48db08 Use appropriate slashes for :Dispatch working directory (10 days ago) * 2ebdeef Change :Git --paginate from :terminal to temp buffer (10 days ago) * bc0b78e Remove dead code (10 days ago) * 5bcb421 Specify shell command, not wrapper, in b:dispatch (10 days ago) * 1a6934f Fix FugitiveParse() return value documentation (10 days ago) * 397fb99 Provide FugitiveBlob style autocommands (10 days ago) * 5b1213d Fix :Gmerge (10 days ago) * ae52b5a Better PowerShell support (12 days ago) * 9f032ed Prevent alternate buffer change loading Fugitive buffer (12 days ago) * d428032 Fix netrw gx in Fugitive buffers AGAIN (12 days ago) * c83355d Accomodate loading Fugitive buffers in popup window (2 weeks ago) * 4732bb9 Generalize :Git environment variable overrides (2 weeks ago) * 3e32a55 Avoid false positives on rebase todo handler (2 weeks ago) * a65db6f Move :Gmerge warning to top level function (2 weeks ago) * 305337a Begin phasing out :Git --paginate special case (2 weeks ago) * 6a638f2 Match "* Unmerged path" in mergetool (3 weeks ago) * 6bc345f Map cmt to :Git mergetool (3 weeks ago) * def982a Softly deprecate :Gmerge for quickfix conflicts (3 weeks ago) * 5fe99dc Provide interface for subcommands to set execution options (3 weeks ago) * 394c925 Fix netrw gx in Fugitive buffers (3 weeks ago) * 4074727 Really fix packed ref handling in :Gbrowse (3 weeks ago) * cfa7bdc Handle packed refs in :Gbrowse (3 weeks ago) * ddd64fc Provide :Git difftool and :Git mergetool (4 weeks ago) * 2bcf755 Run QuickFix autocommands on :Gclog (4 weeks ago) * 295f41b Save diff context in :Gclog (4 weeks ago) * 9ec6b55 Improve display of :Gclog --summary (4 weeks ago) * 3604fab Fix whitespace in README (4 weeks ago) * 6d011f1 Improve :Gclog window title (4 weeks ago) * 726fdf1 Support ...commit as HEAD...commit (4 weeks ago) * 3bf602b Use underlying commit not tag for :Gedit tag:path (5 weeks ago) * 3729c35 Fix unknown function error on Vim < 7.2.061 (5 weeks ago) * 7848779 Don't error if we can't :bwipeout (5 weeks ago) * b68b6d4 Mention vim-phabricator for Phabricator browsing (7 weeks ago) * 6d4564a Fix timer invocation (8 weeks ago) * 5d37b17 Match Git semantics for GIT_CEILING_DIRECTORIES symlink resolution (8 weeks ago) * b48a572 Use timers to avoid Vim patch 8.1.1756 (8 weeks ago) * e1ab8ff Handle both amended and new commits during rebase (8 weeks ago) * d3a2bdb Don't abort rebase after committing on last step (8 weeks ago) * 42c6fd1 Don't override explicit empty string for core.askPass (8 weeks ago) * 671a85d Fix erroneous ? escaping in * pattern (9 weeks ago) * 6d9dd10 Fix false positive matching filename in blame (9 weeks ago) * 3b1da8b Remove debugging function (9 weeks ago) * 67efbf6 Don't fall back to pwd for Git dir of blank filename (9 weeks ago) * eed46c1 Perform automatic :diffoff on :Gdiffsplit /external/file buffers (2 months ago) * dc53206 Provide explanatory error on :Gdiff ~ (2 months ago) * 13fdeb5 Don't show bogus unstaged changes in bare repository (2 months ago) * 3936a74 Reset scrollbind/cursorbind after reblaming (2 months ago) * a2d76c4 Fix completion of stash@\{ (3 months ago) * fd029d8 Add built-in package management installation way (3 months ago) * 0004f58 Don't use arrow notation for unstaged modifications (3 months ago) * b24f98f Cache fugitive#Head() to minimize statusline IO (3 months ago) * 8c84ea6 Replace --no-patch with -s for Git < 1.8.4 (3 months ago) - vim-git: * 117abeb Add drop to rebase cycling (8 weeks ago) * 8c09e75 Highlight gitrebase label operations (8 weeks ago) * 35ee5ae Allow SHA256 in gitrebase (8 weeks ago) * 253779b Add C-A and C-X rebase maps (8 weeks ago) * 6645b71 Rebase "break" command does not take an argument (9 weeks ago) * 619801b Sync with latest upstream files (9 weeks ago) * 4c046d6 Merge Vim 8.0 timestamps (9 weeks ago) |\ | * 796011d Sync timestamps with Vim 8.0 (9 weeks ago) | * a08ca04 Support leading whitespace in rebase -i comments (#40) (3 years, 5 months ago) | * 79f5482 Support wortree gitdir in ftplugin/git.vim (#39) (3 years, 9 months ago) | * 9e16c88 Remove cargo cult (3 years, 11 months ago) | * 02029f1 Merge pull request #38 from somini/master (3 years, 11 months ago) | |\ | | * 8ad5c89 Add missing comments configuration for gitcommit (3 years, 11 months ago) | |/ | * 37679de Merge pull request #37 from yous/fix-formatoptions (3 years, 11 months ago) | |\ | | * fde3193 Remove one flag from formatoptions at a time (3 years, 11 months ago) | |/ | * b92af5f Use shiftwidth() when available (4 years ago) | * 0a22ece Merge pull request #35 from thinca/nomodeline-in-gitrebase (4 years, 1 month ago) | |\ | | * 5fcaf2b Set nomodeline option in gitrebase (4 years, 1 month ago) | |/ | * 1f6f40f Merge branch 'upstream' (4 years, 2 months ago) | |\ | | * 8894227 (tag: vim7.4) Sync timestamps with upstream (4 years, 2 months ago) | * e339485 Highlight "drop" as comment (4 years, 2 months ago) | * 4071e8f Merge pull request #34 from superlukas/rebase-drop (4 years, 2 months ago) | |\ | | * 602cf46 Add highlighting group gitrebaseDrop (4 years, 2 months ago) | |/ | * 37fd7c5 Merge pull request #32 from matthewd/worktrees (4 years, 4 months ago) | |\ | | * 6266338 Recognise commits from inside worktrees (4 years, 4 months ago) | |/ | * 3612660 Merge pull request #28 from garymh/patch-1 (5 years ago) | |\ | | * 8681678 Adding "gitconfig" (without the dot) to the filetypes (5 years ago) | |/ | * 297e707 Fix "Filenames:" header for gitsendemail (6 years ago) | * 63ee837 vim-git: add syntax highlighting for diffs in gitsendemail (6 years ago) | * 95518a2 Merge pull request #24 from gtd/always-set-textwidth (6 years ago) | |\ | | * 15684f2 Always set textwidth (6 years ago) | |/ | * 44836a4 Support localized commit messages (6 years ago) | * 41c1d97 Highlight TAG_EDITMSG as a commit (6 years ago) | * 80d2c77 Merge pull request #23 from dcbaker/fix-gitsendemail (6 years ago) | |\ | | * 8b914ae ftdetect/git.vim: Fix gitsendemail detection (6 years ago) | |/ | * 104636f Merge pull request #19 from sarahgerweck/ignore-tags (6 years ago) | |\ | | * b2b1cf2 Ignore Pathogen-generated help tags. (6 years ago) | |/ | * 5822ff0 Support XDG git config location (7 years ago) | * 6fad48d Ensure tabstop=8 in gitcommit (7 years ago) | * 4bc24f6 Fix gitcommit detection (7 years ago) | * 75bc162 Detect MERGE_MSG (7 years ago) | * 2d54fb2 Improve 'formatoptions' (8 years ago) | * 3d31cb0 Ensure 'formatoptions' includes t (8 years ago) | * 290f599 (tag: v6.0) Sync with upstream (8 years ago) * f0cc24e Tighten match for gitMode (3 months ago) * 2d5ddef Add sponsor button (3 months ago) - vim-haml: * b4083d1 Sync with official runtime files (9 weeks ago) * b8c2473 Add sponsor button (3 months ago) - vim-javascript: * db59565 feat: Add `NOTE` to `jsCommentTodo` (#1198) (7 days ago) - vim-markdown: * e875717 Fix closing italics (7 weeks ago) * a273e6d (tag: vim8.2) Vim 8.2 (7 weeks ago) * 9c2133f Skip escaped bold/italics closer (8 weeks ago) * 8a76c84 Github flavored parsing of underscores (9 weeks ago) * 1a43685 Clean up folding code (9 weeks ago) * 06a62df Restrict HTML highlighting when nesting (10 weeks ago) * a6866ac Add sponsor button (3 months ago) - vim-projectionist: * 17a8b20 Add sponsor button (3 months ago) - vim-ragtag: * 6f1af76 Tighten check for pure HTML filetype (4 days ago) * 19dcf0e Add new javascriptreact and typescriptreact filetypes (#54) (2 months ago) * fa0bc61 Add sponsor button (3 months ago) - vim-rails: * 64befc6 Fall back to outer constant for gf on nested constant (13 days ago) * 097a565 Fix :A +123 absolute/path (3 weeks ago) * 7732c0a Fix :Efixture behavior when no file found (5 weeks ago) * 854cbfa Add sponsor button (3 months ago) - vim-rake: * 34ece18 Add sponsor button (3 months ago) - vim-repeat: * c947ad2 Add sponsor button (3 months ago) - vim-rhubarb: * 5130596 Use FugitiveConfig() to retrieve config vars (3 months ago) * d1f1837 Add sponsor button (3 months ago) - vim-rsi: * ad8ba6b Eliminate 8-bit character collision (3 months ago) * 5e14532 Replace F-key workaround with native meta keys (3 months ago) * 6aa891a Add sponsor button (3 months ago) - vim-ruby: * 871e7a1 Fix contained groups highlighting in eRuby (4 days ago) * 58c21f8 Merge pull request #409 from sergio1990/autodetect-sorbet-rbi-files (12 days ago) |\ | * 07e8c85 Detect Sorbet RBI files as Ruby files (2 weeks ago) |/ * 81f64ec Fix indent bug with continuation chars in regexp syntax group (8 weeks ago) - vim-scriptease: * 86f49ac Fix :Time of command with range (4 weeks ago) * 76f6267 Add "valid" attribute to quickfix entries (3 months ago) * 6091a7b Add sponsor button (3 months ago) - vim-sensible: * 2d9f34c Revert "Lower 'synmaxcol'" (10 weeks ago) * bb75c2e Add sponsor button (3 months ago) - vim-sleuth: * ea3f065 Limit backtick handling to Go files (3 months ago) * 7b37cfd Add sponsor button (3 months ago) - vim-speeddating: * fe98cfa Change vmaps to xmaps (3 months ago) * da8253b Add sponsor button (3 months ago) - vim-surround: * f51a26d Fix bug when closing delimiter is at line end (#284) (#285) (9 weeks ago) * e4c4cc0 Add sponsor button (3 months ago) - vim-unimpaired: * 08e6653 Add sponsor button (3 months ago) - vim-vinegar: * fcce70f Add sponsor button (3 months ago) - vim-vividchalk: * be5c625 Don't double set 'background' (3 months ago) * eb53534 Add sponsor button (3 months ago) + PlugUpgrade diff --git a/rcm/vim/autoload/plug.vim b/rcm/vim/autoload/plug.vim index 02fac8d..ac14332 100644 --- a/rcm/vim/autoload/plug.vim +++ b/rcm/vim/autoload/plug.vim @@ -99,7 +99,13 @@ let s:mac_gui = has('gui_macvim') && has('gui_running') let s:is_win = has('win32') let s:nvim = has('nvim-0.2') || (has('nvim') && exists('*jobwait') && !s:is_win) let s:vim8 = has('patch-8.0.0039') && exists('*job_start') -let s:me = resolve(expand(':p')) +if s:is_win && &shellslash + set noshellslash + let s:me = resolve(expand(':p')) + set shellslash +else + let s:me = resolve(expand(':p')) +endif let s:base_spec = { 'branch': 'master', 'frozen': 0 } let s:TYPE = { \ 'string': type(''), @@ -110,10 +116,42 @@ let s:TYPE = { let s:loaded = get(s:, 'loaded', {}) let s:triggers = get(s:, 'triggers', {}) +if s:is_win + function! s:plug_call(fn, ...) + let shellslash = &shellslash + try + set noshellslash + return call(a:fn, a:000) + finally + let &shellslash = shellslash + endtry + endfunction +else + function! s:plug_call(fn, ...) + return call(a:fn, a:000) + endfunction +endif + +function! s:plug_getcwd() + return s:plug_call('getcwd') +endfunction + +function! s:plug_fnamemodify(fname, mods) + return s:plug_call('fnamemodify', a:fname, a:mods) +endfunction + +function! s:plug_expand(fmt) + return s:plug_call('expand', a:fmt, 1) +endfunction + +function! s:plug_tempname() + return s:plug_call('tempname') +endfunction + function! plug#begin(...) if a:0 > 0 let s:plug_home_org = a:1 - let home = s:path(fnamemodify(expand(a:1), ':p')) + let home = s:path(s:plug_fnamemodify(s:plug_expand(a:1), ':p')) elseif exists('g:plug_home') let home = s:path(g:plug_home) elseif !empty(&rtp) @@ -121,7 +159,7 @@ function! plug#begin(...) else return s:err('Unable to determine plug home. Try calling plug#begin() with a path argument.') endif - if fnamemodify(home, ':t') ==# 'plugin' && fnamemodify(home, ':h') ==# s:first_rtp + if s:plug_fnamemodify(home, ':t') ==# 'plugin' && s:plug_fnamemodify(home, ':h') ==# s:first_rtp return s:err('Invalid plug home. '.home.' is a standard Vim runtime path and is not allowed.') endif @@ -139,6 +177,16 @@ function! s:define_commands() if !executable('git') return s:err('`git` executable not found. Most commands will not be available. To suppress this message, prepend `silent!` to `call plug#begin(...)`.') endif + if has('win32') + \ && &shellslash + \ && (&shell =~# 'cmd\.exe' || &shell =~# 'powershell\.exe') + return s:err('vim-plug does not support shell, ' . &shell . ', when shellslash is set.') + endif + if !has('nvim') + \ && (has('win32') || has('win32unix')) + \ && !has('multi_byte') + return s:err('Vim needs +multi_byte feature on Windows to run shell commands. Enable +iconv for best results.') + endif command! -nargs=* -bar -bang -complete=customlist,s:names PlugInstall call s:install(0, []) command! -nargs=* -bar -bang -complete=customlist,s:names PlugUpdate call s:update(0, []) command! -nargs=0 -bar -bang PlugClean call s:clean(0) @@ -203,7 +251,7 @@ endfunction function! plug#end() if !exists('g:plugs') - return s:err('Call plug#begin() first') + return s:err('plug#end() called without calling plug#begin() first') endif if exists('#PlugLOD') @@ -353,24 +401,25 @@ if s:is_win " Copied from fzf function! s:wrap_cmds(cmds) - let use_chcp = executable('sed') - return map([ + let cmds = [ \ '@echo off', \ 'setlocal enabledelayedexpansion'] - \ + (use_chcp ? [ - \ 'for /f "usebackq" %%a in (`chcp ^| sed "s/[^0-9]//gp"`) do set origchcp=%%a', - \ 'chcp 65001 > nul'] : []) \ + (type(a:cmds) == type([]) ? a:cmds : [a:cmds]) - \ + (use_chcp ? ['chcp !origchcp! > nul'] : []) - \ + ['endlocal'], - \ 'v:val."\r"') + \ + ['endlocal'] + if has('iconv') + if !exists('s:codepage') + let s:codepage = libcallnr('kernel32.dll', 'GetACP', 0) + endif + return map(cmds, printf('iconv(v:val."\r", "%s", "cp%d")', &encoding, s:codepage)) + endif + return map(cmds, 'v:val."\r"') endfunction function! s:batchfile(cmd) - let batchfile = tempname().'.bat' + let batchfile = s:plug_tempname().'.bat' call writefile(s:wrap_cmds(a:cmd), batchfile) - let cmd = plug#shellescape(batchfile, {'shell': &shell, 'script': 1}) - if &shell =~# 'powershell\.exe$' + let cmd = plug#shellescape(batchfile, {'shell': &shell, 'script': 0}) + if &shell =~# 'powershell\.exe' let cmd = '& ' . cmd endif return [batchfile, cmd] @@ -575,7 +624,7 @@ function! plug#(repo, ...) try let repo = s:trim(a:repo) let opts = a:0 == 1 ? s:parse_options(a:1) : s:base_spec - let name = get(opts, 'as', fnamemodify(repo, ':t:s?\.git$??')) + let name = get(opts, 'as', s:plug_fnamemodify(repo, ':t:s?\.git$??')) let spec = extend(s:infer_properties(name, repo), opts) if !has_key(g:plugs, name) call add(g:plugs_order, name) @@ -595,7 +644,7 @@ function! s:parse_options(arg) elseif type == s:TYPE.dict call extend(opts, a:arg) if has_key(opts, 'dir') - let opts.dir = s:dirpath(expand(opts.dir)) + let opts.dir = s:dirpath(s:plug_expand(opts.dir)) endif else throw 'Invalid argument type (expected: string or dictionary)' @@ -606,7 +655,7 @@ endfunction function! s:infer_properties(name, repo) let repo = a:repo if s:is_local_plug(repo) - return { 'dir': s:dirpath(expand(repo)) } + return { 'dir': s:dirpath(s:plug_expand(repo)) } else if repo =~ ':' let uri = repo @@ -759,7 +808,7 @@ function! s:finish_bindings() endfunction function! s:prepare(...) - if empty(getcwd()) + if empty(s:plug_getcwd()) throw 'Invalid current working directory. Cannot proceed.' endif @@ -915,7 +964,7 @@ function! s:checkout(spec) let output = s:system('git rev-parse HEAD', a:spec.dir) if !v:shell_error && !s:hash_match(sha, s:lines(output)[0]) let output = s:system( - \ 'git fetch --depth 999999 && git checkout '.s:esc(sha).' --', a:spec.dir) + \ 'git fetch --depth 999999 && git checkout '.plug#shellescape(sha).' --', a:spec.dir) endif return output endfunction @@ -1120,12 +1169,12 @@ function! s:update_finish() endif endif call s:log4(name, 'Checking out '.tag) - let out = s:system('git checkout -q '.s:esc(tag).' -- 2>&1', spec.dir) + let out = s:system('git checkout -q '.plug#shellescape(tag).' -- 2>&1', spec.dir) else - let branch = s:esc(get(spec, 'branch', 'master')) - call s:log4(name, 'Merging origin/'.branch) - let out = s:system('git checkout -q '.branch.' -- 2>&1' - \. (has_key(s:update.new, name) ? '' : ('&& git merge --ff-only origin/'.branch.' 2>&1')), spec.dir) + let branch = get(spec, 'branch', 'master') + call s:log4(name, 'Merging origin/'.s:esc(branch)) + let out = s:system('git checkout -q '.plug#shellescape(branch).' -- 2>&1' + \. (has_key(s:update.new, name) ? '' : ('&& git merge --ff-only '.plug#shellescape('origin/'.branch).' 2>&1')), spec.dir) endif if !v:shell_error && filereadable(spec.dir.'/.gitmodules') && \ (s:update.force || has_key(s:update.new, name) || s:is_updated(spec.dir)) @@ -1169,7 +1218,7 @@ function! s:job_abort() silent! call job_stop(j.jobid) endif if j.new - call s:system('rm -rf ' . plug#shellescape(g:plugs[name].dir)) + call s:rm_rf(g:plugs[name].dir) endif endfor let s:jobs = {} @@ -1232,7 +1281,7 @@ function! s:spawn(name, cmd, opts) \ 'on_stdout': function('s:nvim_cb'), \ 'on_exit': function('s:nvim_cb'), \ }) - let jid = jobstart(argv, job) + let jid = s:plug_call('jobstart', argv, job) if jid > 0 let job.jobid = jid else @@ -1289,9 +1338,10 @@ function! s:bar() endfunction function! s:logpos(name) - for i in range(4, line('$')) + let max = line('$') + for i in range(4, max > 4 ? max : 4) if getline(i) =~# '^[-+x*] '.a:name.':' - for j in range(i + 1, line('$')) + for j in range(i + 1, max > 5 ? max : 5) if getline(j) !~ '^ ' return [i, j - 1] endif @@ -2001,16 +2051,20 @@ function! s:shellesc_ps1(arg) return "'".substitute(escape(a:arg, '\"'), "'", "''", 'g')."'" endfunction +function! s:shellesc_sh(arg) + return "'".substitute(a:arg, "'", "'\\''", 'g')."'" +endfunction + function! plug#shellescape(arg, ...) let opts = a:0 > 0 && type(a:1) == s:TYPE.dict ? a:1 : {} let shell = get(opts, 'shell', s:is_win ? 'cmd.exe' : 'sh') let script = get(opts, 'script', 1) - if shell =~# 'cmd\.exe$' + if shell =~# 'cmd\.exe' return s:shellesc_cmd(a:arg, script) - elseif shell =~# 'powershell\.exe$' || shell =~# 'pwsh$' + elseif shell =~# 'powershell\.exe' || shell =~# 'pwsh$' return s:shellesc_ps1(a:arg) endif - return shellescape(a:arg) + return s:shellesc_sh(a:arg) endfunction function! s:glob_dir(path) @@ -2163,7 +2217,7 @@ function! s:clean(force) let allowed = {} for dir in dirs - let allowed[s:dirpath(fnamemodify(dir, ':h:h'))] = 1 + let allowed[s:dirpath(s:plug_fnamemodify(dir, ':h:h'))] = 1 let allowed[dir] = 1 for child in s:glob_dir(dir) let allowed[child] = 1 @@ -2236,7 +2290,7 @@ endfunction function! s:upgrade() echo 'Downloading the latest version of vim-plug' redraw - let tmp = tempname() + let tmp = s:plug_tempname() let new = tmp . '/plug.vim' try @@ -2435,7 +2489,9 @@ function! s:diff() call s:append_ul(2, origin ? 'Pending updates:' : 'Last update:') for [k, v] in plugs let range = origin ? '..origin/'.v.branch : 'HEAD@{1}..' - let cmd = 'git log --graph --color=never '.join(map(['--pretty=format:%x01%h%x01%d%x01%s%x01%cr', range], 'plug#shellescape(v:val)')) + let cmd = 'git log --graph --color=never ' + \ . (s:git_version_requirement(2, 10, 0) ? '--no-show-signature ' : '') + \ . join(map(['--pretty=format:%x01%h%x01%d%x01%s%x01%cr', range], 'plug#shellescape(v:val)')) if has_key(v, 'rtp') let cmd .= ' -- '.plug#shellescape(v.rtp) endif @@ -2485,7 +2541,7 @@ function! s:revert() return endif - call s:system('git reset --hard HEAD@{1} && git checkout '.s:esc(g:plugs[name].branch).' --', g:plugs[name].dir) + call s:system('git reset --hard HEAD@{1} && git checkout '.plug#shellescape(g:plugs[name].branch).' --', g:plugs[name].dir) setlocal modifiable normal! "_dap setlocal nomodifiable @@ -2513,7 +2569,7 @@ function! s:snapshot(force, ...) abort endfor if a:0 > 0 - let fn = expand(a:1) + let fn = s:plug_expand(a:1) if filereadable(fn) && !(a:force || s:ask(a:1.' already exists. Overwrite?')) return endif + replug done ```
jonallured commented 4 years ago

It's been a while since I sharpened so I actually had to reconstruct the command I had been using to update the list of Artsy repos:

$ cd ~/code/github_scripts && ruby artsy_repos.rb > ~/code/team-artsy-workflow-data/data/repos.yml && cd ~/code/team-artsy-workflow-data && git status