This repository was archived by the owner on May 19, 2022. It is now read-only.
Open
Conversation
This causes the following to misbehave:
% foo=0
% $((foo++))
zsh: command not found: 1
% echo $foo
2
While it should be:
% foo=0
% $((foo++))
zsh: command not found: 0
% echo $foo
1
This should probably also not be used with the other shells, but I have
not investigated there.
ZeroKnight
added a commit
to ZeroKnight/dotfiles
that referenced
this pull request
Oct 25, 2016
- _fasd_preexec() and fasd_cd are autoloadable functions
- Backported some PRs from clvv/fasd
- [clvv/fasd#54] Correction of newline print statement in fasd_cd
- [clvv/fasd#75] fasd_cd: return 1 in case no dir was found
- *Partial* [clvv/fasd#77] XDG Compliance
- [clvv/fasd#99] Do not "eval" in zsh's _fasd_preexec
|
Should this also be done to the other evals (e.g. if you use Error: |
|
This is a pretty big bug. I recently ran into this and it was a devil to track down. Every time I declared a function, it fasd's pre-exec eval would null out the fasd function and make it equal to @clvv I know that you haven't been paying a bunch of attention to this project, but is there any way that you would be willing to merge this one PR? |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This causes the following to misbehave:
While it should be:
This should probably also not be used with the other shells, but I have
not investigated there.