summary refs log tree commit diff
path: root/home/.local/bin/wcfix
blob: b31bd19b001179a79b2adc9ea4d7aba1d6f84030 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
set -eu

export DYLD_FORCE_FLAT_NAMESPACE=1
export DYLD_INSERT_LIBRARIES=~/.local/lib/libwcwidth.dylib

exec "$@"
t'> 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe