jonallured / dotfiles

Here be my dotfiles
7 stars 0 forks source link

Week 18 - juggernaut #220

Closed jonallured closed 3 years ago

jonallured commented 3 years ago

Terminal Stuff

Filesystem Housekeeping

Check for Updates

Stay in Sync

Finishing Up

jonallured commented 3 years ago

sharpen.log

``` + brew upgrade asdf awscli bat fzf gh git heroku hokusai httpie hub jo jq macvim the_silver_searcher tmux yarn zsh-completions Warning: Treating macvim as a formula. For the cask, use homebrew/cask/macvim Warning: asdf 0.8.0_1 already installed Warning: awscli 2.2.0 already installed Warning: bat 0.18.0 already installed Warning: fzf 0.27.0 already installed Warning: gh 1.9.2 already installed Warning: git 2.31.1 already installed Warning: heroku/brew/heroku 7.52.0 already installed Warning: artsy/formulas/hokusai 0.5.14 already installed Warning: httpie 2.4.0 already installed Warning: hub 2.14.2 already installed Warning: jo 1.4 already installed Warning: jq 1.6 already installed Warning: macvim 8.2-171 already installed Warning: the_silver_searcher 2.2.0 already installed Warning: tmux 3.2 already installed Warning: yarn 1.22.10 already installed Warning: zsh-completions 0.32.0_1 already installed + asdf plugin-update --all Updating nodejs... 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... Already on 'master' Your branch is up to date with 'origin/master'. + asdf reshim + gem update --system Latest version already installed. Done. + npm install --global npm changed 14 packages, and audited 255 packages in 2s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities + op update 1Password command-line tool 1.9.1. You're using the latest version. + nuke_modules /Users/jon/code/torque/node_modules /Users/jon/code/force/node_modules 1.3G cleaned up ```

replug.log

``` + PlugClean Searching for invalid plugins in /Users/jon/.vim/plugs [==========================================================] Already clean. + PlugInstall Updated. Elapsed time: 0.421264 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-rsi: Already installed - tslime.vim: Already installed - vim-vividchalk: Already installed - vim-coffee-script: Already installed - vim-graphql: Already installed - vim-rhubarb: Already installed - vim-markdown: Already installed - pgsql.vim: Already installed - vim-vinegar: Already installed - vim-slim: Already installed - vim-repeat: 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-sensible: Already installed - vim-unimpaired: Already installed - vim-headfirst: Already installed - vim-json: Already installed - vim-bdubs: Already installed - vim-rails: Already installed - vim-weefactor: Already installed - vim-eunuch: Already installed - vim-railscasts: 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-ragtag: Already installed - vim-projectionist: 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: 6.307735 sec. [=======================================================xx] - Finishing ... Done! x tslime.vim: merge: origin/master - not something we can merge x vim-turbux: merge: origin/master - not something we can merge - vim-scriptease: Already up to date. - vim-textobj-user: Already up to date. - vim-rhubarb: Already up to date. - vim-graphql: Already up to date. - vim-coffee-script: Already up to date. - vim-vividchalk: Already up to date. - bufkill.vim: Already up to date. - vim-git: 2 files changed, 2 insertions(+), 3 deletions(-) - vim-markdown: 1 file changed, 2 insertions(+), 2 deletions(-) - fzf: 2 files changed, 7 insertions(+), 8 deletions(-) - vim-hashrocket: Already up to date. - vim-endwise: Already up to date. - vim-rake: Already up to date. - vim-blockle: Already up to date. - vim-commentary: Already up to date. - vim-pug: Already up to date. - vim-repeat: Already up to date. - vim-ruby: Already up to date. - vim-slim: Already up to date. - supertab: 1 file changed, 1 insertion(+), 1 deletion(-) - vim-rsi: Already up to date. - vim-sensible: Already up to date. - bufexplorer.zip: Already up to date. - vim-spacejam: Already up to date. - ack.vim: Already up to date. - vim-sleuth: Already up to date. - vim-rails: 1 file changed, 1 insertion(+), 1 deletion(-) - pgsql.vim: Already up to date. - gitv: Already up to date. - vim-vinegar: Already up to date. - vim-railscasts: Already up to date. - vim-eunuch: Already up to date. - vim-weefactor: Already up to date. - vim-bdubs: Already up to date. - vim-fugitive: 2 files changed, 39 insertions(+), 35 deletions(-) - vim-irblack: Already up to date. - vim-haml: Already up to date. - vim-speeddating: 1 file changed, 1 insertion(+), 1 deletion(-) - vim-projectionist: 3 files changed, 19 insertions(+), 3 deletions(-) - splitjoin.vim: 3 files changed, 30 insertions(+), 29 deletions(-) - ale: 3 files changed, 28 insertions(+), 10 deletions(-) - vim-unimpaired: Already up to date. - vim-styled-components: Already up to date. - vim-headfirst: Already up to date. - vim-javascript: Already up to date. - vim-json: Already up to date. - typescript-vim: Already up to date. - vim-surround: Already up to date. - vim-textobj-rubyblock: Already up to date. - tabular: Already up to date. - vim-bundler: Already up to date. - vim-jsx: Already up to date. - vim-abolish: Already up to date. - vim-ragtag: Already up to date. - vim-cucumber: Already up to date. + PlugDiff 10 plugin(s) updated. [=========================================================] Last update: ------------ - ale: * d81986a add 'How can I use ALE and vim-lsp together?' in readme (#3711) (3 days ago) * 737c1bf Fix stylelint not obeying project-specific rules (#3272) (2 weeks ago) - fzf: * 4cd621e ADVANCED.md: tmux 3.2 is officially released (5 days ago) * 6e3a2fe [vim] Fix screen offset of relatively positioned popup window (6 days ago) - splitjoin.vim: * f4773c0 Fix for typescript (9 days ago) * 9a020d0 Update gems (9 days ago) - supertab: * f0093ae Use https Git url in README (3 days ago) - vim-fugitive: * 32b0d62 Hunt other tabs for window on :tab Git (29 hours ago) * 8f4a23e Fix capitalization (10 days ago) * f7a6097 Change deprecated q and D maps to errors (11 days ago) * b227b88 Replace HEAD with @ (2 weeks ago) - vim-git: * f78c240 Allow keywordprg with pager with guioptions=! (4 days ago) * 6dbe01b Combine redundant groups (6 weeks ago) - vim-markdown: * 9d87cc1 Prevent false detection of fenced code block start (12 days ago) - vim-projectionist: * 8dda7ac Limit BufFilePost detection to known good buffers (4 weeks ago) * 7d2853e Add :Ptcd and :Tcd commands (6 weeks ago) * 348e070 Tentatively add O commands wrapping :drop (3 months ago) - vim-rails: * c171b86 Highlight has_rich_text (7 days ago) - vim-speeddating: * 95da3d7 Ignore mswin.vim CTRL-A/CTRL-X overrides (4 days ago) + PlugUpgrade diff --git a/rcm/vim/autoload/plug.vim b/rcm/vim/autoload/plug.vim index 2b89b5a..6a958cb 100644 --- a/rcm/vim/autoload/plug.vim +++ b/rcm/vim/autoload/plug.vim @@ -116,6 +116,10 @@ let s:TYPE = { let s:loaded = get(s:, 'loaded', {}) let s:triggers = get(s:, 'triggers', {}) +function! s:is_powershell(shell) + return a:shell =~# 'powershell\(\.exe\)\?$' || a:shell =~# 'pwsh\(\.exe\)\?$' +endfunction + function! s:isabsolute(dir) abort return a:dir =~# '^/' || (has('win32') && a:dir =~? '^\%(\\|[A-Z]:\)') endfunction @@ -263,7 +267,7 @@ function! s:define_commands() endif if has('win32') \ && &shellslash - \ && (&shell =~# 'cmd\(\.exe\)\?$' || &shell =~# 'powershell\(\.exe\)\?$') + \ && (&shell =~# 'cmd\(\.exe\)\?$' || s:is_powershell(&shell)) return s:err('vim-plug does not support shell, ' . &shell . ', when shellslash is set.') endif if !has('nvim') @@ -503,7 +507,7 @@ if s:is_win let batchfile = s:plug_tempname().'.bat' call writefile(s:wrap_cmds(a:cmd), batchfile) let cmd = plug#shellescape(batchfile, {'shell': &shell, 'script': 0}) - if &shell =~# 'powershell\(\.exe\)\?$' + if s:is_powershell(&shell) let cmd = '& ' . cmd endif return [batchfile, cmd] @@ -984,7 +988,7 @@ function! s:chsh(swap) set shell=sh endif if a:swap - if &shell =~# 'powershell\(\.exe\)\?$' || &shell =~# 'pwsh$' + if s:is_powershell(&shell) let &shellredir = '2>&1 | Out-File -Encoding UTF8 %s' elseif &shell =~# 'sh' || &shell =~# 'cmd\(\.exe\)\?$' set shellredir=>%s\ 2>&1 @@ -2225,7 +2229,7 @@ function! plug#shellescape(arg, ...) let script = get(opts, 'script', 1) if shell =~# 'cmd\(\.exe\)\?$' return s:shellesc_cmd(a:arg, script) - elseif shell =~# 'powershell\(\.exe\)\?$' || shell =~# 'pwsh$' + elseif s:is_powershell(shell) return s:shellesc_ps1(a:arg) endif return s:shellesc_sh(a:arg) @@ -2277,7 +2281,7 @@ function! s:system(cmd, ...) return system(a:cmd) endif let cmd = join(map(copy(a:cmd), 'plug#shellescape(v:val, {"shell": &shell, "script": 0})')) - if &shell =~# 'powershell\(\.exe\)\?$' + if s:is_powershell(&shell) let cmd = '& ' . cmd endif else + replug done ```