{"action":"opened","number":140,"pull_request":{"url":"https://api.github.com/repos/justinmk/vim-dirvish/pulls/140","id":271682203,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcxNjgyMjAz","html_url":"https://github.com/justinmk/vim-dirvish/pull/140","diff_url":"https://github.com/justinmk/vim-dirvish/pull/140.diff","patch_url":"https://github.com/justinmk/vim-dirvish/pull/140.patch","issue_url":"https://api.github.com/repos/justinmk/vim-dirvish/issues/140","number":140,"state":"open","locked":false,"title":"Shdo: Z!: Added compatibility with `git-bash` on Windows OS","user":{"login":"koblihh","id":13987638,"node_id":"MDQ6VXNlcjEzOTg3NjM4","avatar_url":"https://avatars0.githubusercontent.com/u/13987638?v=4","gravatar_id":"","url":"https://api.github.com/users/koblihh","html_url":"https://github.com/koblihh","followers_url":"https://api.github.com/users/koblihh/followers","following_url":"https://api.github.com/users/koblihh/following{/other_user}","gists_url":"https://api.github.com/users/koblihh/gists{/gist_id}","starred_url":"https://api.github.com/users/koblihh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koblihh/subscriptions","organizations_url":"https://api.github.com/users/koblihh/orgs","repos_url":"https://api.github.com/users/koblihh/repos","events_url":"https://api.github.com/users/koblihh/events{/privacy}","received_events_url":"https://api.github.com/users/koblihh/received_events","type":"User","site_admin":false},"body":"The PR is mainly aimed at users who want to generate and execute a bash script (`.sh`) on Windows OS, provided they have `&shell` set to `sh.exe`. This allows users to use `:[range]Shdo[!] {cmd}` with basic unix commands such as `mv`, `rm`, etc.; as well as avoiding a need to `set shellslash` which oftentimes breaks other plugins (e.g. `vim-fugitive`).\r\n\r\nAs for non `git-bash` users on Windows OS, the original workflow is preserved i.e. a batch (`.bat`) or powershell (`.ps1`) script will be generated and executed instead via `cmd.exe` or `powershell.exe`, respectively.\r\n\r\nFor example, to rename a list of visual-selected files on Windows OS:\r\n```\r\n:'<,'>Shdo mv {} {}\r\n%TEMP%\\XXXXXXX.tmp.sh\r\nZ!\r\n```\r\n```\r\n:'<,'>Shdo ren {} {}\r\n%TEMP%\\XXXXXXX.tmp.bat\r\nZ!\r\n```\r\n```\r\n:'<,'>Shdo rename-item {} {}\r\n%TEMP%\\XXXXXXX.tmp.ps1\r\nZ!\r\n```\r\nI would greatly appreciate it to have your feedback on the changes. Cheers!","created_at":"2019-04-18T13:10:16Z","updated_at":"2019-04-18T13:10:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/justinmk/vim-dirvish/pulls/140/commits","review_comments_url":"https://api.github.com/repos/justinmk/vim-dirvish/pulls/140/comments","review_comment_url":"https://api.github.com/repos/justinmk/vim-dirvish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justinmk/vim-dirvish/issues/140/comments","statuses_url":"https://api.github.com/repos/justinmk/vim-dirvish/statuses/211d64f1f841e7654799219db1b05cf86bfcfe0c","head":{"label":"koblihh:master","ref":"master","sha":"211d64f1f841e7654799219db1b05cf86bfcfe0c","user":{"login":"koblihh","id":13987638,"node_id":"MDQ6VXNlcjEzOTg3NjM4","avatar_url":"https://avatars0.githubusercontent.com/u/13987638?v=4","gravatar_id":"","url":"https://api.github.com/users/koblihh","html_url":"https://github.com/koblihh","followers_url":"https://api.github.com/users/koblihh/followers","following_url":"https://api.github.com/users/koblihh/following{/other_user}","gists_url":"https://api.github.com/users/koblihh/gists{/gist_id}","starred_url":"https://api.github.com/users/koblihh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koblihh/subscriptions","organizations_url":"https://api.github.com/users/koblihh/orgs","repos_url":"https://api.github.com/users/koblihh/repos","events_url":"https://api.github.com/users/koblihh/events{/privacy}","received_events_url":"https://api.github.com/users/koblihh/received_events","type":"User","site_admin":false},"repo":{"id":181723514,"node_id":"MDEwOlJlcG9zaXRvcnkxODE3MjM1MTQ=","name":"vim-dirvish","full_name":"koblihh/vim-dirvish","private":false,"owner":{"login":"koblihh","id":13987638,"node_id":"MDQ6VXNlcjEzOTg3NjM4","avatar_url":"https://avatars0.githubusercontent.com/u/13987638?v=4","gravatar_id":"","url":"https://api.github.com/users/koblihh","html_url":"https://github.com/koblihh","followers_url":"https://api.github.com/users/koblihh/followers","following_url":"https://api.github.com/users/koblihh/following{/other_user}","gists_url":"https://api.github.com/users/koblihh/gists{/gist_id}","starred_url":"https://api.github.com/users/koblihh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koblihh/subscriptions","organizations_url":"https://api.github.com/users/koblihh/orgs","repos_url":"https://api.github.com/users/koblihh/repos","events_url":"https://api.github.com/users/koblihh/events{/privacy}","received_events_url":"https://api.github.com/users/koblihh/received_events","type":"User","site_admin":false},"html_url":"https://github.com/koblihh/vim-dirvish","description":"Directory viewer for Vim :zap:","fork":true,"url":"https://api.github.com/repos/koblihh/vim-dirvish","forks_url":"https://api.github.com/repos/koblihh/vim-dirvish/forks","keys_url":"https://api.github.com/repos/koblihh/vim-dirvish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koblihh/vim-dirvish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koblihh/vim-dirvish/teams","hooks_url":"https://api.github.com/repos/koblihh/vim-dirvish/hooks","issue_events_url":"https://api.github.com/repos/koblihh/vim-dirvish/issues/events{/number}","events_url":"https://api.github.com/repos/koblihh/vim-dirvish/events","assignees_url":"https://api.github.com/repos/koblihh/vim-dirvish/assignees{/user}","branches_url":"https://api.github.com/repos/koblihh/vim-dirvish/branches{/branch}","tags_url":"https://api.github.com/repos/koblihh/vim-dirvish/tags","blobs_url":"https://api.github.com/repos/koblihh/vim-dirvish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koblihh/vim-dirvish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koblihh/vim-dirvish/git/refs{/sha}","trees_url":"https://api.github.com/repos/koblihh/vim-dirvish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koblihh/vim-dirvish/statuses/{sha}","languages_url":"https://api.github.com/repos/koblihh/vim-dirvish/languages","stargazers_url":"https://api.github.com/repos/koblihh/vim-dirvish/stargazers","contributors_url":"https://api.github.com/repos/koblihh/vim-dirvish/contributors","subscribers_url":"https://api.github.com/repos/koblihh/vim-dirvish/subscribers","subscription_url":"https://api.github.com/repos/koblihh/vim-dirvish/subscription","commits_url":"https://api.github.com/repos/koblihh/vim-dirvish/commits{/sha}","git_commits_url":"https://api.github.com/repos/koblihh/vim-dirvish/git/commits{/sha}","comments_url":"https://api.github.com/repos/koblihh/vim-dirvish/comments{/number}","issue_comment_url":"https://api.github.com/repos/koblihh/vim-dirvish/issues/comments{/number}","contents_url":"https://api.github.com/repos/koblihh/vim-dirvish/contents/{+path}","compare_url":"https://api.github.com/repos/koblihh/vim-dirvish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koblihh/vim-dirvish/merges","archive_url":"https://api.github.com/repos/koblihh/vim-dirvish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koblihh/vim-dirvish/downloads","issues_url":"https://api.github.com/repos/koblihh/vim-dirvish/issues{/number}","pulls_url":"https://api.github.com/repos/koblihh/vim-dirvish/pulls{/number}","milestones_url":"https://api.github.com/repos/koblihh/vim-dirvish/milestones{/number}","notifications_url":"https://api.github.com/repos/koblihh/vim-dirvish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koblihh/vim-dirvish/labels{/name}","releases_url":"https://api.github.com/repos/koblihh/vim-dirvish/releases{/id}","deployments_url":"https://api.github.com/repos/koblihh/vim-dirvish/deployments","created_at":"2019-04-16T16:06:26Z","updated_at":"2019-04-18T10:56:44Z","pushed_at":"2019-04-18T10:56:43Z","git_url":"git://github.com/koblihh/vim-dirvish.git","ssh_url":"git@github.com:koblihh/vim-dirvish.git","clone_url":"https://github.com/koblihh/vim-dirvish.git","svn_url":"https://github.com/koblihh/vim-dirvish","homepage":"","size":418,"stargazers_count":0,"watchers_count":0,"language":"Vim script","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"justinmk:master","ref":"master","sha":"ae60a79106dd32d75d3c5cf4dfe44fd658d634ec","user":{"login":"justinmk","id":1359421,"node_id":"MDQ6VXNlcjEzNTk0MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1359421?v=4","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"repo":{"id":31054916,"node_id":"MDEwOlJlcG9zaXRvcnkzMTA1NDkxNg==","name":"vim-dirvish","full_name":"justinmk/vim-dirvish","private":false,"owner":{"login":"justinmk","id":1359421,"node_id":"MDQ6VXNlcjEzNTk0MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1359421?v=4","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"html_url":"https://github.com/justinmk/vim-dirvish","description":"Directory viewer for Vim :zap:","fork":false,"url":"https://api.github.com/repos/justinmk/vim-dirvish","forks_url":"https://api.github.com/repos/justinmk/vim-dirvish/forks","keys_url":"https://api.github.com/repos/justinmk/vim-dirvish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justinmk/vim-dirvish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justinmk/vim-dirvish/teams","hooks_url":"https://api.github.com/repos/justinmk/vim-dirvish/hooks","issue_events_url":"https://api.github.com/repos/justinmk/vim-dirvish/issues/events{/number}","events_url":"https://api.github.com/repos/justinmk/vim-dirvish/events","assignees_url":"https://api.github.com/repos/justinmk/vim-dirvish/assignees{/user}","branches_url":"https://api.github.com/repos/justinmk/vim-dirvish/branches{/branch}","tags_url":"https://api.github.com/repos/justinmk/vim-dirvish/tags","blobs_url":"https://api.github.com/repos/justinmk/vim-dirvish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justinmk/vim-dirvish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justinmk/vim-dirvish/git/refs{/sha}","trees_url":"https://api.github.com/repos/justinmk/vim-dirvish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justinmk/vim-dirvish/statuses/{sha}","languages_url":"https://api.github.com/repos/justinmk/vim-dirvish/languages","stargazers_url":"https://api.github.com/repos/justinmk/vim-dirvish/stargazers","contributors_url":"https://api.github.com/repos/justinmk/vim-dirvish/contributors","subscribers_url":"https://api.github.com/repos/justinmk/vim-dirvish/subscribers","subscription_url":"https://api.github.com/repos/justinmk/vim-dirvish/subscription","commits_url":"https://api.github.com/repos/justinmk/vim-dirvish/commits{/sha}","git_commits_url":"https://api.github.com/repos/justinmk/vim-dirvish/git/commits{/sha}","comments_url":"https://api.github.com/repos/justinmk/vim-dirvish/comments{/number}","issue_comment_url":"https://api.github.com/repos/justinmk/vim-dirvish/issues/comments{/number}","contents_url":"https://api.github.com/repos/justinmk/vim-dirvish/contents/{+path}","compare_url":"https://api.github.com/repos/justinmk/vim-dirvish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justinmk/vim-dirvish/merges","archive_url":"https://api.github.com/repos/justinmk/vim-dirvish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justinmk/vim-dirvish/downloads","issues_url":"https://api.github.com/repos/justinmk/vim-dirvish/issues{/number}","pulls_url":"https://api.github.com/repos/justinmk/vim-dirvish/pulls{/number}","milestones_url":"https://api.github.com/repos/justinmk/vim-dirvish/milestones{/number}","notifications_url":"https://api.github.com/repos/justinmk/vim-dirvish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justinmk/vim-dirvish/labels{/name}","releases_url":"https://api.github.com/repos/justinmk/vim-dirvish/releases{/id}","deployments_url":"https://api.github.com/repos/justinmk/vim-dirvish/deployments","created_at":"2015-02-20T07:23:17Z","updated_at":"2019-04-15T05:51:28Z","pushed_at":"2019-04-01T23:03:56Z","git_url":"git://github.com/justinmk/vim-dirvish.git","ssh_url":"git@github.com:justinmk/vim-dirvish.git","clone_url":"https://github.com/justinmk/vim-dirvish.git","svn_url":"https://github.com/justinmk/vim-dirvish","homepage":"","size":418,"stargazers_count":569,"watchers_count":569,"language":"Vim script","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":36,"open_issues":13,"watchers":569,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/justinmk/vim-dirvish/pulls/140"},"html":{"href":"https://github.com/justinmk/vim-dirvish/pull/140"},"issue":{"href":"https://api.github.com/repos/justinmk/vim-dirvish/issues/140"},"comments":{"href":"https://api.github.com/repos/justinmk/vim-dirvish/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/justinmk/vim-dirvish/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/justinmk/vim-dirvish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justinmk/vim-dirvish/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/justinmk/vim-dirvish/statuses/211d64f1f841e7654799219db1b05cf86bfcfe0c"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"koblihh"}}