aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-13Removed (broken) code to escape newlines in output. If you care aboutBruce Hill
files with newlines, just use '-0'. Otherwise, newlines will just be printed like every other character.
2019-10-13More code cleanup and guards to check tty_in/out existBruce Hill
2019-10-13Minor version bumpBruce Hill
2019-10-13More code cleanup: consolidating cd_to() and populate_files() into justBruce Hill
populate_files(), cleaner startup behavior, less duplicative environment variable setting, misc.
2019-10-13Slightly better warning message with +Bruce Hill
2019-10-13More code cleanup, including tweaking matches_cmd() to figure out ifBruce Hill
there are required arguments or not, and refactoring run_bbcmd() to no longer return a value (which was ignored), but instead just spit out error messages to stderr if necessary.
2019-10-13Code cleanup.Bruce Hill
2019-10-13Fixed max depth str length to be closer to actual range of lengths.Bruce Hill
2019-10-13Deprecated support for piping commands in to bb at startup (undocumented). ↵Bruce Hill
Users should use xargs if they want to do that sort of thing.
2019-10-13Added support for shift-home and shift-end, as well as a default bindingBruce Hill
to +spread using them.
2019-10-13Cleaned up the command parsing code a bit to be slightly more correctBruce Hill
and more compact. Now uses if-else-if chain instead of nested switch statements. This may be very slightly less performant, but probably not noticeable and much cleaner code.
2019-10-12Renamed Super->Meta for correctness and demagicified a magic number.Bruce Hill
2019-10-12verhaul of terminal keypress handling and labeling to support moreBruce Hill
functionality for mouse clicking/dragging/left clicking/middle clicking/double clicking and to have more standardized behavior for key names and better handling of key modifiers (Ctrl, Alt, Meta, Shift). Also moved Ctrl-c and Ctrl-z to custom key bindings with (bb +kill and bb +suspend). Mouse clicking is now also handled in key bindings.
2019-10-11Use `tput cvvis` and `tput civis` for cursor visibility and fix for `>`Bruce Hill
shell mode not showing cursor.
2019-10-09Shortened loop to find bindings.Bruce Hill
2019-10-09Moved bbstartup search to a loop.Bruce Hill
2019-10-08Set default columns to what the startup commands were doing by default,Bruce Hill
so that's no longer needed in the startup commands.
2019-10-03Version bumpBruce Hill
2019-10-03Removed some unnecessary +refreshes, no longer enable cursor by default,Bruce Hill
but instead have ask() etc. make the cursor visible. Also cleaned up some of the failure cases for better feedback.
2019-10-03For +deselect, allow +deselect (no colon) to mean "deselect everything"Bruce Hill
to make it a simple command instead of +deselect: "$@"
2019-10-03Fix for empty files not getting detected properlyBruce Hill
2019-10-03Tidying upBruce Hill
2019-10-03Added +execute (for, e.g. `bb +e:"bb +goto:$(ls | pick "Go to file:Bruce Hill
")"`)
2019-10-03Updated docs.Bruce Hill
2019-10-03Overhaul/cleanup of command line argument parsing. Now properly handlesBruce Hill
startup commands in the order: bbstartup.sh, bb +cmd, echo +cmd | bb
2019-10-03Appending '\0' to commandfile so subsequent writes don't get screwed up.Bruce Hill
2019-10-03Fix for deletion not working properly with <selection>Bruce Hill
2019-10-02Reordering startup commands and cleaning up piped in input.Bruce Hill
2019-10-02Fixed `ln` argument orderingBruce Hill
2019-10-02Removed unnecessary /dev/tty redirectBruce Hill
2019-10-02Restored binding for double left clicking a file.Bruce Hill
2019-10-02Moved some variables out of global scope that weren't needed there.Bruce Hill
2019-10-02Fixed 'Enter' key behavior (should work properly for mac again now)Bruce Hill
2019-10-02Default behavior for invalid bb commands is now to print an errorBruce Hill
message to stdout on the default console screen and otherwise ignore it instead of exiting.
2019-10-02Removed BB_QUITBruce Hill
2019-10-02Added fake binding to allow '#' to bind without being parsed as aBruce Hill
comment
2019-10-02Fix for some messed up behavior for Escape key and for passing varargBruce Hill
commands to bb
2019-09-30Fixed some typos in the bindings.Bruce Hill
2019-09-30Moved duplicate names onto same line.Bruce Hill
2019-09-30Fixed an issue with /etc/bb instead of /etc/xdg/bb and moved the startupBruce Hill
command into bb.h with the other bb shell script stuff.
2019-09-30Fix for `pause` having both bold+faint text instead of just faint.Bruce Hill
2019-09-30Updated comment.Bruce Hill
2019-09-30Moved config.h -> bb.h and did some cleanup, moving functionBruce Hill
declarations and constants out of bb.c and into bb.h. Also re-alphabetized the functions and updated the docs.
2019-09-30Ditching the whole config.def.h paradigm in favor of just having aBruce Hill
single config.h file. It's mostly not used very much anyways now that the startup commands and key bindings are in their own files.
2019-09-30Overhaul of how binding commands works. It's now all handled throughBruce Hill
bbstartup.sh, which loads bindings.bb and parses it to +bind:<keys>:<script> commands.
2019-09-30Added reverse-lookup for name->key and switched to store names in anBruce Hill
array.
2019-09-22Only toggle sort direction if it was the first sort and it was ~'d.Bruce Hill
2019-09-22Don't show '..' by defaultBruce Hill
2019-09-22Added 'i' binding for +interleaveBruce Hill
2019-09-22Centered the Size column label.Bruce Hill