-
Notifications
You must be signed in to change notification settings - Fork 380
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
[WIP] Array utilities #953
Draft
akinomyoga
wants to merge
15
commits into
scop:main
Choose a base branch
from
akinomyoga:ARRAY
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
+320
−0
Commits on Aug 23, 2024
-
feat(completions/ARRAY): add
_comp_xfunc_ARRAY_filter
Co-authored-by: Christoph Anton Mitterer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68a02fa - Browse repository at this point
Copy the full SHA 68a02faView commit details -
Configuration menu - View commit details
-
Copy full SHA for e203fec - Browse repository at this point
Copy the full SHA e203fecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eee0e1 - Browse repository at this point
Copy the full SHA 6eee0e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 132176d - Browse repository at this point
Copy the full SHA 132176dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2326b19 - Browse repository at this point
Copy the full SHA 2326b19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcc0f8 - Browse repository at this point
Copy the full SHA 9bcc0f8View commit details -
refactor(ARRAY): avoid using local varnames tmp, i, j, and pattern
They can hide the array names to store the results.
Configuration menu - View commit details
-
Copy full SHA for 1f09e8e - Browse repository at this point
Copy the full SHA 1f09e8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a35b5 - Browse repository at this point
Copy the full SHA 48a35b5View commit details -
fix(_comp_uniq): avoid expanding array subscripts in arith context
When the array elements contains a confusing value such as `arr[10]='1],x*=10,a[2'`, (( tmp["${arr[10]}"] )) would be unexpectedly interpreted as ((tmp[1], x *= 10, a[2])) in bash < 5.2. We here instead use an independent parameter expansions and assignments.
Configuration menu - View commit details
-
Copy full SHA for b907080 - Browse repository at this point
Copy the full SHA b907080View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87d50e3 - Browse repository at this point
Copy the full SHA 87d50e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fb04e2 - Browse repository at this point
Copy the full SHA 5fb04e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ce056b - Browse repository at this point
Copy the full SHA 5ce056bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eebec3c - Browse repository at this point
Copy the full SHA eebec3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c966921 - Browse repository at this point
Copy the full SHA c966921View commit details -
Configuration menu - View commit details
-
Copy full SHA for b345552 - Browse repository at this point
Copy the full SHA b345552View commit details
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.