diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-06-15 16:20:06 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-06-15 16:20:06 -0700 |
| commit | 8e46e6c4a4c05fc00cbf745eddf70798150f2ba0 (patch) | |
| tree | 5fe9ee92ea018601362d7ce98cd284818d3423a5 /config.def.h | |
| parent | 2f70e8a9ba91b6185a81a954b62ddd1c2d6e0006 (diff) | |
Added comment about /dev/tty
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index c63d596..3629a70 100644 --- a/config.def.h +++ b/config.def.h @@ -164,6 +164,11 @@ const char *startupcmds[] = { * Please note that these are sh scripts, not bash scripts, so bash-isms * won't work unless you make your script use `bash -c "<your bash script>"` * + * All output should be redirected to /dev/tty, otherwise cd "$(bb -d)" will + * break because stdout will be polluted with all the keybindings that spammed + * stdout. Similarly, user input should be pulled from /dev/tty so anything + * piped into bb won't be misinterpreted as user input. + * * If your editor is vim (and not neovim), you can replace `$EDITOR` below with * `vim -c 'set t_ti= t_te=' "$@"` to prevent momentarily seeing the shell * after editing. |
