summary refs log tree commit diff
path: root/Library/Application Support (unfollow)
Commit message (Collapse)Author
2017-01-26Remove broken gem bin path from pathJune McEnroe
2017-01-25Remove macOS keyboard layoutJune McEnroe
Does not work in all apps.
2017-01-22Use 127.0.0.1 instead of localhost in SSH configJune McEnroe
2017-01-22Set shiftwidth=2 for sh and zshJune McEnroe
2017-01-21Add short descriptions to C utilitiesJune McEnroe
2017-01-21Update READMEJune McEnroe
2017-01-21Use zsh for shell scriptsJune McEnroe
2017-01-20Group git aliasesJune McEnroe
2017-01-20Clean up zshrcJune McEnroe
2017-01-20Set PATH manuallyJune McEnroe
2017-01-20Switch back to 10-minute increments in clockJune McEnroe
And do it properly this time.
2017-01-20Modulo next hour by 24 in clockJune McEnroe
2017-01-19Switch clock to 6-minute graduationsJune McEnroe
2017-01-19Revert "Show one digit of each hour in clock"June McEnroe
This reverts commit a3555612b6814bdfce0cbc6110891e61252d3980.
2017-01-19Display fuzzy clock in tmuxJune McEnroe
2017-01-19Show one digit of each hour in clockJune McEnroe
2017-01-19Add fuzzy clockJune McEnroe
2017-01-19Include host in tmux status lineJune McEnroe
2017-01-08Add include so that pbcopy.c compiles on FreeBSDJune McEnroe
2017-01-06Implement pbcopy and pbpaste in CJune McEnroe
Ted Unangst broke my netcat implementation of pbpaste with this commit: <https://github.com/openbsd/src/commit/bb978d8>, which, when /dev/null is attached to stdin, causes nc to exit and never read from the socket. Turns out the core functionality of netcat can be implemented in about 50 lines of C.
2017-01-03Add custom keyboard layout for macOSJune McEnroe
2016-12-23Add gdbinitJune McEnroe
2016-12-01Clean up tmux.conf a bit moreJune McEnroe
2016-12-01Remove iTerm tux profileJune McEnroe
2016-11-24Use C-e C-e to switch tmux windowsJune McEnroe
2016-11-10Set tmux status colors BLACKJune McEnroe
2016-10-16Update pbd.c styleJune McEnroe
2016-10-16Update xx.c styleJune McEnroe
2016-10-16Remove rpn.cJune McEnroe
2016-10-10Add JRP_DUMPJune McEnroe
2016-10-10Split jrp nops on dword boundariesJune McEnroe
2016-10-10Fix jrp dop pushesJune McEnroe
Pushing zero on a qop boundary would break because zero is the sentinal value for code.dop.
2016-10-09Allocate two pages of stack for jrpJune McEnroe
2016-10-09Fix jrp snprintf lenJune McEnroe
I hate calculations like these.
2016-10-09Rewrite jrpJune McEnroe
2016-10-08Fix jrp prompt snprintfJune McEnroe
2016-10-08Add quote to jrp and refactor jitJune McEnroe
2016-10-08Fix jrp build -leditJune McEnroe
2016-10-08Fix jrp mmap MAP_ANON callsJune McEnroe
2016-10-08Fix jrp OR opJune McEnroe
2016-10-08Set up jrp input loopJune McEnroe
2016-10-08Implement jrp JITJune McEnroe
2016-10-07Implement jit_hop and jit_hop for jrpJune McEnroe
2016-10-07Keep stack top in rdi in jrpJune McEnroe
2016-10-07Swap stacks in OP_CALL and wasteful OP_RELO in jrpJune McEnroe
NEED MORE BYTES.
2016-10-07Add runtime functions to jrpJune McEnroe
The current JITed code causes a misaligned stack error when calling into C code. Need to find a way to align the RPN stack to 16 bytes, or swap back to the C stack before a CALL.
2016-10-06Add OP_HIGH to jrpJune McEnroe
2016-10-06Define IMMED_PUSH macro in jrpJune McEnroe
2016-10-06Rearrange OP_PUSH so immediate is high dword in jrpJune McEnroe
2016-10-06Use custom typedefs in jrpJune McEnroe
nt is required to preserve empty fields in "$@" > expansion. But it should *only* be used when $@ is quoted: ifsbreakup() > takes nulonly from the last IFS region, even if it's empty, so having an > additional zero-length region with nulonly enabled causes confusion. > > Passing quoted by value to varvalue() and not attempting to modify it > should therefore, and in my quick testing does, also work to fix the > original $@ bug. You're right. The proper fix to this is to ensure that nulonly is not set in varvalue for $*. It should only be set for $@ when it's inside double quotes. In fact there is another bug while we're playing with $@/$*. When IFS is set to a non-whitespace character such as :, $* outside quotes won't remove empty fields as it should. This patch fixes both problems. Reported-by: Martijn Dekker <martijn@inlv.org> Suggested-by: Harald van Dijk <harald@gigawatt.nl> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02parser: Allow newlines within parameter substitutionHerbert Xu On Fri, Mar 16, 2018 at 11:27:22AM +0800, Herbert Xu wrote: > On Thu, Mar 15, 2018 at 10:49:15PM +0100, Harald van Dijk wrote: > > > > Okay, it can be trivially modified to something that does work in other > > shells (even if it were actually executed), but gets rejected at parse time > > by dash: > > > > if false; then > > : ${$+ > > } > > fi > > That's just a bug in dash's parser with ${} in general, because > it bombs out without the if clause too: > > : ${$+ > } This patch fixes the parsing of newlines with parameter substitution. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu On Sun, Mar 04, 2018 at 12:44:59PM +0100, Harald van Dijk wrote: > > command: set -- a ""; space=" "; printf "<%s>" "$@"$space > bash: <a><> > dash 0.5.8: <a>< > > dash 0.5.9.1: <a>< > > dash patched: <a><> This is actually composed of two bugs. First of all our tracking of quotemark is wrong so anything after "$@" becomes quoted. Once we fix that then the problem is that the first space character after "$@" is not recognised as an IFS. This patch fixes both. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu This reverts commit 7bb413255368e94395237d789f522891093c5774. The commit breaks printf with more than argument. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu