| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
% make -s check
./B08shift.ztst: starting.
*** /tmp/zsh.ztst.out.20779 Sun Dec 13 16:15:26 2015
--- /tmp/zsh.ztst.tout.20779 Sun Dec 13 16:15:26 2015
***************
*** 1,4 ****
! tether mether pip azer sezar akker conter dick
! mether pip azer sezar akker conter dick
! mether pip azer sezar
! mether pip azer
--- 1,4 ----
! yan tan tether mether pip azer sezar akker conter dick
! yan tan tether mether pip azer sezar akker conter dick
! yan tan tether mether pip azer sezar akker conter dick
! yan tan tether mether pip azer sezar akker conter dick
Test ./B08shift.ztst failed: output differs from expected as shown above for:
array=(yan tan tether mether pip azer sezar akker conter dick)
shift 2 array
print $array
shift array
print $array
shift -p 3 array
print $array
shift -p array
print $array
Error output:
(eval):shift:2: shift count must be <= $#
(eval):shift:4: shift count must be <= $#
(eval):shift:6: shift count must be <= $#
(eval):shift:8: shift count must be <= $#
Was testing: shifting array
./B08shift.ztst: test failed.
./D04parameter.ztst: starting.
*** /tmp/zsh.ztst.out.22016 Sun Dec 13 16:15:49 2015
--- /tmp/zsh.ztst.tout.22016 Sun Dec 13 16:15:49 2015
***************
*** 1,10 ****
! a 1 b 2 c 3
! a 1 b 2 c 3
! a 1 b 2
! a 1 b 2 c 1 d 2
! a a b
! 1
! a a
! 1
! b
! 2 2
--- 1,6 ----
!
! a b c
!
! a b c d
!
!
Test ./D04parameter.ztst failed: output differs from expected as shown above for:
foo=(a b c)
bar=(1 2 3)
print ${foo:^bar}
print ${foo:^^bar}
foo=(a b c d)
bar=(1 2)
print ${foo:^bar}
print ${foo:^^bar}
foo=('a a' b)
bar=(1 '2 2')
print -l "${foo:^bar}"
print -l "${(@)foo:^bar}"
Was testing: Zipping arrays, correct output
./D04parameter.ztst: test failed.
./X02zlevi.ztst: starting.
comptesteval:6: fatal error: out of heap memory
./X03zlebindkey.ztst: starting.
comptesteval:6: fatal error: out of heap memory
./Y01completion.ztst: starting.
comptesteval:6: fatal error: out of heap memory
./Y02compmatch.ztst: starting.
comptesteval:6: fatal error: out of heap memory
./Y03arguments.ztst: starting.
comptesteval:6: fatal error: out of heap memory
**************************************
41 successful test scripts, 7 failures, 0 skipped
**************************************
|
|
|
|
|
|
| |
Changes from Mikael's bcf975a2ea3ebc6ba1ed8150b376bef45e527cda:
- paramsubst: Change setting of 'ziplen'
|
| |
|
| |
|
|
|
|
| |
Found by Debian's lintian tool.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Russell Currey <ruscur@russell.cc>
|
| |
|
|
|
|
|
| |
This adds a new helper function _baudrate and uses it in place of
private solutions in various existing completions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
No functional change, except for completion of 'git bundle' and 'git config
branch.*.merge'; this is a required groundwork for future patches.
|
|
|
|
|
| |
I couldn't reproduce different behaviour with and without this patch, although
the called command's output differs.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Alter internal return code so as not to mask curses error code.
|
|
|
|
| |
root directory as well
|
| |
|
| |
|
|
|
|
| |
unposted: regression test for 38307
|
|
|
|
| |
unlimited
|
|
|
|
| |
external command of the same name
|
| |
|
|
|
|
| |
on an empty last line in the buffer
|
|
|
|
| |
mode
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Found by searching for /-\w\>.*:/.
This covers short options only, from the top of file through _git-tag().
|
|
|
|
|
|
|
|
|
| |
redirection operator
The completion result is still in need of some repair; e.g., if the first
thing on the line is the redirection, completion before it is not taken
to be in command position, and in this and other cases a necessary space
is not inserted between the completed word and the redirection.
|
| |
|
|
|
|
|
|
| |
Use the new function to simplify memory management in prefix handling.
Third time lucky.
|
| |
|
|
|
|
| |
from github pull request - some formatting edited
|
|
|
|
|
|
| |
Do not free global pointers until after promptexpand() in case they are
referenced from signal handlers, and check for window size changes during
promptexpand().
|
|
|
|
|
|
| |
Crams several globals into a struct so they can be saved/restored as one,
and then tries pushing the signal queue management down into patmatch()
from pattryrefs().
|
| |
|
| |
|
|
|
|
|
|
| |
codepath.
The reflog will only be used if the user has typed as "@" by hand.
|
|
|
|
|
| |
The «HEAD@{...}» syntax is no longer completed, since it's not easily possible
to support both syntaxes (workers/34768).
|
|
|
|
| |
Currently, only used by «git reflog delete <TAB>».
|
| |
|