summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/Makefile')
0 files changed, 0 insertions, 0 deletions
lumn5'>| | | | | | | | | | Previously, the prompt would be expanded every time editline called the getprompt callback. I think the code may have been written assuming that editline only calls getprompt once per prompt, but it may actually call it many times, for instance every time you type backspace. This results not only in slower editing from expanding complex prompts repeatedly, it also consumes more and more stack memory each time getprompt is called. This can be seen by setting PS1 to some command substitution, typing many characters at the prompt, then holding backspace and observing memory usage. Thankfully all this stack memory is freed between prompts by the stackmark calls around el_gets. This change causes prompt expansion to always happen in the setprompt call, as it would when editline is disabled, and a cached copy of the prompt is saved for getprompt to return every time editline calls it. Since getprompt is no longer doing expansion, the stackmark calls surrounding el_gets can be removed. * Bind libedit's secret filename completion functionJune McEnroe2020-12-22 | | | | | | | | | | Check if the FreeBSD (and by extension macOS) _el_fn_sh_complete version of the function exists, which does shell escaping of completed filenames before _el_fn_complete learned to. Tab is bound after calling el_set() and el_source() since the default bindings set tab to something else, and it should always be filename completion in the shell. * Build with libedit by defaultJune McEnroe2020-12-22 | * Fail if building --with-libedit and can't find libeditJune McEnroe2020-12-22 | | | | | Previously, configure --with-libedit would only fail in the case where libedit is available but its header file histedit.h is not. * Merge commit '71c7cbab2b50436db940721a10d6ea1ca5d75f89' as 'bin/dash'June McEnroe2020-12-22 |\ | | | | | | From tag 'v0.5.11.2'. | * Squashed 'bin/dash/' content from commit a45870fJune McEnroe2020-12-22 | | | | | git-subtree-dir: bin/dash git-subtree-split: a45870f71f42be6bf3c8eada04debd1008f9dc3e * Limit prune.sh to ~/.config ~/.localJune McEnroe2020-12-22 | | | | | Otherwise macOS gets very mad as it tries to access a bunch of protected directories. * Match the number part of the argument to :RFCJune McEnroe2020-12-21 | | | | This fixes pressing K on "RFC3501", for example. * Move rfc.vim to doc/rfcJune McEnroe2020-12-21 | | | | | That default path is a bit wonky, but it prevents having to template rfc.vim for basically no reason. * Move rfc to doc/rfcJune McEnroe2020-12-21 | * Move wcfix to port/wcwidthJune McEnroe2020-12-21 | * Update PDF URLsJune McEnroe2020-12-21 | * Move pdf to doc/pdfJune McEnroe2020-12-21 | * Remove TF2 configJune McEnroe2020-12-21 | | | | | Uninstalled TF2 and upgraded to macOS Catalina which can't run it ever again. Goodbye TF2, you used to be fun. * Emit tags for section headings without trailing dots