FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove escapes before command names by ferdnyc · Pull Request #127 · python-virtualenvwrapper/virtualenvwrapper · GitHub

Remove escapes before command names - #127

Open
ferdnyc wants to merge 1 commit into
python-virtualenvwrapper:mainfrom
ferdnyc:no-escaped-cmds
Open

Remove escapes before command names#127
ferdnyc wants to merge 1 commit into
python-virtualenvwrapper:mainfrom
ferdnyc:no-escaped-cmds

Conversation

ferdnyc commented May 6, 2026

Copy link
Copy Markdown
Contributor

In the early days of virtualenvwrapper.sh, some commands were prefixed with an escape character (e.g. \grep -E -v ...) as a way of attempting to defeat local aliases and other redefinitions. (See, e.g. commit c5433fe.)

But, the command and builtin metacommands are better ways of achieving that, and all of the commands in question have since been prefixed with the appropriate metacommand, making the escapes unnecessary. command \grep -E -v ... is just silly.

In the early days of `virtualenvwrapper.sh`, some commands were
prefixed with an escape character (e.g. `\grep -E -v ...`) as a
way of attempting to defeat local aliases and other redefinitions.
(See, e.g. commit c5433fe.)

But, the `command` and `builtin` metacommands are better ways of
achieving that, and all of the commands in question have since
been prefixed with the appropriate metacommand, making the escapes
unnecessary. `command \grep -E -v ...` is just silly.

carltongibson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yep, looks good. 👍

mergify Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL