Piped input

buku waits until its input is closed when not started in a tty. For example, the following hangs:

$ cat | buku

This is the intended behavior as the primary reason behind supporting piped input is to add bookmarks with a keyboard shortcut. Third-party applications should explicitly close the input stream or use a wrapper script like the following one:

#!/bin/bash

echo $1 | buku -a

cmder integration (Windows)

cmder creates HOME variable in init.bat when it starts.

buku sets its database path according to existence of HOME variable, which is not defined by default on Windows. For using related projects like bukubrow, bukubrow-host the bookmark database should be in the standard path, which rely on non-presence of HOME variable in windows.

For using buku it’s required to set HOME= in %cmder_root%/config/user_profile.cmd as was suggested by cmder developers.