René's URL Explorer Experiment


Title: Fix history command error when input starts with dash by Copilot · Pull Request #78 · wp-cli/shell-command · GitHub

Open Graph Title: Fix history command error when input starts with dash by Copilot · Pull Request #78 · wp-cli/shell-command

X Title: Fix history command error when input starts with dash by Copilot · Pull Request #78 · wp-cli/shell-command

Description: Opens an interactive PHP console for running and testing PHP code. - Fix history command error when input starts with dash by Copilot · Pull Request #78 · wp-cli/shell-command

Open Graph Description: Bash's history -s command interprets strings starting with - as options rather than arguments, causing errors when users enter expressions like -1 or --help in the shell REPL. Changes src/WP_C...

X Description: Bash's history -s command interprets strings starting with - as options rather than arguments, causing errors when users enter expressions like -1 or --help in the shell REPL. Changes src/...

Opengraph URL: https://github.com/wp-cli/shell-command/pull/78

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4e3d387e-1641-fc97-5b04-1964dd129172
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9CF2:223B8D:C0E2F7:10B02C6:6AFA21C7
html-safe-noncec32410d341a35b3a43230f4f98eb659655a1a488b6a0c0589c2bb95461f1f1db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0YyOjIyM0I4RDpDMEUyRjc6MTBCMDJDNjo2QUZBMjFDNyIsInZpc2l0b3JfaWQiOiI3ODQ0MTgyNDMxMjk5Njc0NTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac38ca3b2185af857c93a53626d1d90c739f9e77e01c13da2462a894691af4e58f
hovercard-subject-tagpull_request:2972959592
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/shell-command/78/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/973ef133bcfd1c7f2f6242579f21d4106da2d57e28b19a2abb1a3baf42281e3e/wp-cli/shell-command/pull/78
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/973ef133bcfd1c7f2f6242579f21d4106da2d57e28b19a2abb1a3baf42281e3e/wp-cli/shell-command/pull/78
og:image:altBash's history -s command interprets strings starting with - as options rather than arguments, causing errors when users enter expressions like -1 or --help in the shell REPL. Changes src/WP_C...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/shell-command git https://github.com/wp-cli/shell-command.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id85307675
octolytics-dimension-repository_nwowp-cli/shell-command
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id85307675
octolytics-dimension-repository_network_root_nwowp-cli/shell-command
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/shell-command/pull/78#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fshell-command%2Fpull%2F78
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fshell-command%2Fpull%2F78
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Fshell-command
Reloadhttps://github.com/wp-cli/shell-command/pull/78
Reloadhttps://github.com/wp-cli/shell-command/pull/78
Reloadhttps://github.com/wp-cli/shell-command/pull/78
wp-clihttps://github.com/wp-cli
shell-commandhttps://github.com/wp-cli/shell-command
Codehttps://github.com/wp-cli/shell-command
Issueshttps://github.com/wp-cli/shell-command/issues
Pull requestshttps://github.com/wp-cli/shell-command/pulls
Actionshttps://github.com/wp-cli/shell-command/actions
Security and qualityhttps://github.com/wp-cli/shell-command/security
Insightshttps://github.com/wp-cli/shell-command/pulse
https://github.com/wp-cli/shell-command
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/shell-command/tree/main
copilot/fix-1570774-85307675-a3581af5-4b01-4bc1-9e7d-38e6e62dd0d1https://github.com/wp-cli/shell-command/tree/copilot/fix-1570774-85307675-a3581af5-4b01-4bc1-9e7d-38e6e62dd0d1
Conversationhttps://github.com/wp-cli/shell-command/pull/78
Commits4 (4)https://github.com/wp-cli/shell-command/pull/78/commits
Checkshttps://github.com/wp-cli/shell-command/pull/78/checks
Files changedhttps://github.com/wp-cli/shell-command/pull/78/files
Fix history command error when input starts with dashhttps://github.com/wp-cli/shell-command/pull/78#top
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/shell-command/tree/main
copilot/fix-1570774-85307675-a3581af5-4b01-4bc1-9e7d-38e6e62dd0d1https://github.com/wp-cli/shell-command/tree/copilot/fix-1570774-85307675-a3581af5-4b01-4bc1-9e7d-38e6e62dd0d1
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Nov 3, 2025https://github.com/wp-cli/shell-command/pull/78#issue-3582348480
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/78
Actions setup stepshttps://gh.io/copilot/actions-setup-steps
Copilot coding agent settingshttps://github.com/wp-cli/shell-command/settings/copilot/coding_agent
contribution guidelineshttps://make.wordpress.org/cli/handbook/contributing/
how to write clear bug reportshttps://make.wordpress.org/cli/handbook/bug-reports/
https://github.com/wp-cli/shell-command/blob/main/src/WP_CLI/Shell/REPL.php#L135-L144https://github.com/wp-cli/shell-command/blob/main/src/WP_CLI/Shell/REPL.php#L135-L144
@copilothttps://gh.io/copilot-coding-agent-docs
When input prompt starts with '-': /bin/bash: line 1: history: -1: invalid option #75https://github.com/wp-cli/shell-command/issues/75
2 minute surveyhttps://gh.io/copilot-coding-agent-survey
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/78
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/wp-cli/shell-command/pull/78/commits/6565922d5bc3474a9bfdfcd74c6faa7f287e28b8
6565922https://github.com/wp-cli/shell-command/pull/78/commits/6565922d5bc3474a9bfdfcd74c6faa7f287e28b8
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
Nov 3, 2025https://github.com/wp-cli/shell-command/pull/78#event-20676399129
started workhttps://github.com/wp-cli/shell-command/sessions/9e8832e5-a0f8-4f48-bc3a-9299e7621de4
swissspidyhttps://github.com/swissspidy
November 3, 2025 14:33https://github.com/wp-cli/shell-command/pull/78#event-20676411047
View session https://github.com/wp-cli/shell-command/sessions/9e8832e5-a0f8-4f48-bc3a-9299e7621de4
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
Fix history command to handle input starting with dashhttps://github.com/wp-cli/shell-command/pull/78/commits/cf0435acca00efeaf92a8c06a4922ac6d164eb4d
cf0435ahttps://github.com/wp-cli/shell-command/pull/78/commits/cf0435acca00efeaf92a8c06a4922ac6d164eb4d
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Nov 3, 2025https://github.com/wp-cli/shell-command/pull/78#event-20676928488
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
November 3, 2025 14:53https://github.com/wp-cli/shell-command/pull/78#event-20676931888
finished workhttps://github.com/wp-cli/shell-command/sessions/9e8832e5-a0f8-4f48-bc3a-9299e7621de4
swissspidyhttps://github.com/swissspidy
November 3, 2025 14:53https://github.com/wp-cli/shell-command/pull/78#event-20676932207
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Nov 3, 2025https://github.com/wp-cli/shell-command/pull/78#issuecomment-3482385877
Codecovhttps://app.codecov.io/gh/wp-cli/shell-command/pull/78?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Let us know!https://github.com/codecov/feedback/issues/255
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/78
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
November 3, 2025 20:35https://github.com/wp-cli/shell-command/pull/78#event-20684470227
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
code ownerhttps://github.com/wp-cli/shell-command/blob/82cb962536b31c5c746bc6e0b8371d995e50ba24/.github/CODEOWNERS#L1
November 3, 2025 20:35https://github.com/wp-cli/shell-command/pull/78#event-20684470337
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
command:shell https://github.com/wp-cli/shell-command/issues?q=state%3Aopen%20label%3Acommand%3Ashell
Nov 3, 2025https://github.com/wp-cli/shell-command/pull/78#event-20684471494
https://github.com/swissspidy
Merge branch 'main' into copilot/fix-1570774-85307675-a3581af5-4b01-4…https://github.com/wp-cli/shell-command/pull/78/commits/1f941134a0c78a3ecea5cb0363c844f81bc50790
1f94113https://github.com/wp-cli/shell-command/pull/78/commits/1f941134a0c78a3ecea5cb0363c844f81bc50790
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Jan 21, 2026 https://github.com/wp-cli/shell-command/pull/78#pullrequestreview-3687110306
View reviewed changes https://github.com/wp-cli/shell-command/pull/78/files/9de21497a6d61ef516fb155c0db7f23cd2efd4e7
https://github.com/swissspidy
Merge branch 'main' into copilot/fix-1570774-85307675-a3581af5-4b01-4…https://github.com/wp-cli/shell-command/pull/78/commits/9de21497a6d61ef516fb155c0db7f23cd2efd4e7
9de2149https://github.com/wp-cli/shell-command/pull/78/commits/9de21497a6d61ef516fb155c0db7f23cd2efd4e7
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Copilothttps://github.com/apps/copilot-pull-request-reviewer
January 21, 2026 12:55https://github.com/wp-cli/shell-command/pull/78#event-22187491572
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
2.0.17https://github.com/wp-cli/shell-command/milestone/23
Jan 21, 2026https://github.com/wp-cli/shell-command/pull/78#event-22187494939
started reviewinghttps://github.com/wp-cli/shell-command/sessions/1509a003-68fa-4b27-940b-f0e5c088a692
swissspidyhttps://github.com/swissspidy
January 21, 2026 13:02https://github.com/wp-cli/shell-command/pull/78#event-22187652595
View session https://github.com/wp-cli/shell-command/sessions/1509a003-68fa-4b27-940b-f0e5c088a692
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jan 21, 2026 https://github.com/wp-cli/shell-command/pull/78#pullrequestreview-3687161352
View reviewed changes https://github.com/wp-cli/shell-command/pull/78/files/9de21497a6d61ef516fb155c0db7f23cd2efd4e7
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/wp-cli/shell-command/pull/78#pullrequestreview-3687161352
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/wp-cli/shell-command/new/main/.github/instructions?filename=*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/78
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
b43370chttps://github.com/wp-cli/shell-command/commit/b43370ccbfcf4bc2abae7b90ef20e4e209d631d5
Jan 22, 2026https://github.com/wp-cli/shell-command/pull/78#event-22210427914
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/78
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
January 22, 2026 09:09https://github.com/wp-cli/shell-command/pull/78#event-22210428744
https://github.co/hiddenchars
https://github.com/wp-cli/shell-command/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fshell-command%2Fpull%2F78
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/wp-cli/shell-command/pull/78/files/9de21497a6d61ef516fb155c0db7f23cd2efd4e7
https://github.com/swissspidy
swissspidy https://github.com/swissspidy
https://github.com/wp-cli/shell-command/pull/78/files/9de21497a6d61ef516fb155c0db7f23cd2efd4e7
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/78
https://github.com/swissspidy
swissspidy https://github.com/swissspidy
Copilot code review https://github.com/apps/copilot-swe-agent
Copilot https://github.com/apps/copilot-swe-agent
command:shell https://github.com/wp-cli/shell-command/issues?q=state%3Aopen%20label%3Acommand%3Ashell
2.0.17 https://github.com/wp-cli/shell-command/milestone/23
When input prompt starts with '-': /bin/bash: line 1: history: -1: invalid option https://github.com/wp-cli/shell-command/issues/75
Please reload this pagehttps://github.com/wp-cli/shell-command/pull/78
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.