| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The behaviour differs from GNU `ls -lh` in that we use binary units,
meaning we get 1023 before 1.0K rather than 999 before 1.0K,
which is nonetheless still four characters wide.
|
|
|
|
| |
We don't want to pass them as program options.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The previous search for the longest match is functionally
duplicated by typing individual characters on the input line,
and wildcards can be escaped, so there shouldn't be regressions
in terms of capability.
|
| |
|
|
|
|
| |
"z" stands for VIM's "zz".
|
|
|
|
| |
Show an error message, and a way out.
|
|
|
|
| |
Easily gained, easily lost. No more ^S binding.
|
| |
|
| |
|
| |
|
|
|
|
| |
We heavily depend on ncurses anyway, so no worries about portability.
|
|
|
|
|
|
|
|
| |
Cumulatively 10% of user time, give or take.
These are mainly pointless multibyte to wide string conversions.
The hit to source code readibility is minimal.
|
|
|
|
| |
Large directories are slow for different reasons.
|
|
|
|
| |
It is unexpected behaviour, and likes to take too long.
|
|
|
|
| |
So that I don't repeat my actions in the future.
|
|
|
|
|
|
|
|
| |
As the specification says we should. GLib does this as well.
It is still possible to achieve an empty set by using ":",
which are two non-absolute paths that should be ignored.
GLib doesn't implement this. Thus, we're now better than GLib.
|
| |
|
|
|
|
|
|
| |
Mostly just so that the F7 binding isn't completely alone.
Since Shift-F6 isn't something we can just bind to, use a prefill.
|
|
|
|
| |
This might have needed more thought, but we'll see.
|
|
|
|
|
|
| |
The interactive search now has its own keymap, overriding "input".
Closes #5
|
| |
|
|
|
|
| |
We want to make it possible to iterate all current matches.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
I was hoping that a superoptimiser would help me find a miraculous
branchless equation to cover it, but in the end the branching
doesn't hurt at all in our case.
It's more readable than `(((char >> 2) - 0x38) & 0x60) ^ char`
or `(char ^ 0x40) & (((char >> 1) ^ 0x20) | 0x5f)`.
|
|
|
|
| |
And document this feature in the manual page.
|
|
|
|
| |
Yet, this program remains fairly unportable.
|
|
|
|
| |
Since we have a version number at all, even if it's meaningless.
|
| |
|
| |
|
|
|
|
|
|
| |
The wchar_t variant of compute_width() is no longer needed.
So all in all the better help has saved code.
|
|
|
|
| |
Considerably more useful and concise.
|
|
|
|
|
|
| |
Taken from Windows Explorer, which previously used Backspace.
We might want to use h/l for parent/choose by default.
|
|
|
|
|
|
| |
We do get these as a key, after all.
Closes #4
|
|
|
|
|
|
| |
Not completely happy with the explicit `halfdelay (1)`.
Updates #4
|
|
|
|
| |
Updates #4
|
| |
|
|
|
|
|
|
|
| |
Not caring about C-d right now, we might have to convince the tty
to send it to us--I'm not sure if it does, or returns EOF.
Updates #4
|
|
|
|
| |
Updates #4
|
|
|
|
|
|
| |
They might not be even printed correctly, though.
Updates #4
|
|
|
|
| |
Updates #4
|
|
|
|
|
|
|
|
| |
Copying snippets from the README was uncomfortable and laborious,
and wasted a lot of space in the document, especially after
the recent additions.
Closes #3
|
|
|
|
|
| |
In the end, we don't need to impose any policy on it,
and it removes a level of quoting, as well as an `eval`.
|
|
|
|
|
|
|
|
|
|
|
|
| |
SIGTSTP is sent to the entire foreground process group,
so do the some with our SIGCONT.
Debian's default sh (dash) doesn't replace itself with
the command, even if it's the last one in the -c option.
Of course, we do not need to use /bin/sh for the helpers
at all, though it doesn't cost us much. We could also
issue an explicit `exec`.
|
| |
|
|
|
|
| |
And in general fix all CTRL processing to handle the DEL character.
|
|
|
|
|
|
|
|
|
| |
zsh's antisocial behaviour was fairly promptly fixed (thanks to
Stephane Chazelas and his patience).
zle-line-init and zle-line-reset seem to be user-defined widgets
and the order inverted. Put zle-line-init before reset-prompt
because some people do weird things in there.
|