Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upstream #1

Open
wants to merge 186 commits into
base: master
Choose a base branch
from
Open

upstream #1

wants to merge 186 commits into from

Conversation

mrGibi
Copy link
Owner

@mrGibi mrGibi commented Jun 16, 2022

Please be sure to check out our contributing guidelines
before submitting your pull request.

Fixes #

Proposed Changes

romkatv and others added 30 commits February 27, 2020 13:17
`tty` command infers the current TTY from file descriptor 0.
`$TTY` gives current TTY directly. The latter works even when
file descriptor 0 is redirected. It's also over 1000 times faster.
Add the following functions:

- is-darwin
- is-linux
- is-bsd
- is-cygwin

And apply them everywhere I found code doing that what these functions do.
…1811)

PR #1793 introduced helper functions for OS detection in some modules.
These helpers require a module dependency on the 'helper' module.
Adds the gfma and gfra aliases with the `--autostash` flag.
Pyenv will install shims for commands that exist in any interpreter, even if it is not the current one. This means that a command may technically exist, but when executed will tell the user to try a different interpreter. The original check for pip in the Python module can fail for this reason, in particular on Ubuntu 20.04.

This change checks with pyenv whether pip really exists in the current interpreter to work around this problem and fixes a bug in pip command detection.
The current implementation is not tamper-proof against a modified IFS. See discussion in #902 for details.
When $WORKON_HOME is not set and $ENV_NAME is equal to
$PROJECT_ROOT/.venv which contains bin/activate then
the code wrongly assumes workon is available.

It should execute the second branch to source bin/activate.
This allows to cancel a tab completion, as ^_ in emacs mode.
mritd and others added 4 commits September 12, 2023 00:08
support zsh-history-substring-search `HISTORY_SUBSTRING_SEARCH_PREFIXED` env

Signed-off-by: mritd <[email protected]>
add `prefixed` setting example comment

Signed-off-by: mritd <[email protected]>
The startup logic and instructions have been updated for simplicity in
pyenv 2.3.0. The workaround for pyenv init is no longer necessary.

Signed-off-by: Indrajit Raychaudhuri <[email protected]>
abizer and others added 25 commits November 6, 2023 12:44
Adjust instruction for setting custom `$ZDOTDIR`.

This addresses 2 potential issues:
- Check for the presence of `$XDG_CONFIG_HOME/zsh` before assigning it to `$ZDOTDIR` instead of blindly assigning
- Avoid recursion in zsh variable assignment stack that might occasionally result in messages like:
```
zsh: job table full or recursion limit exceeded
```
Removes dead screens from the list of candidate screens. Fixes issue
1253, "screen:auto-start problem with dead screens".
Local completion definition has been removed
This could sometimes be slow (as with any external command execution)
but the result should almost never change.
Avoid checking age of cache file and just test for its existence.
While this is simpler, this also avoids depending on having
`EXTENDED_GLOB` enabled.
Although it has tags, the release flow it is not well estabilished,
so it fall behind quite recurrently, thus why I'm updating it aginst the
master branch (it was already out of the latest tag anyway).

Ref:
zsh-users/zsh-completions#1083
Remove redundant quotes from comparisons and
variable expansions where they are not needed.

Also add style nits to comments and code.
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.