Set default columns to what the startup commands were doing by default,
so that's no longer needed in the startup commands.
This commit is contained in:
parent
c4620ece60
commit
220d0dc402
2
bb.c
2
bb.c
@ -1357,7 +1357,7 @@ int main(int argc, char *argv[])
|
|||||||
setenv("BBINITIALPATH", path, 1);
|
setenv("BBINITIALPATH", path, 1);
|
||||||
|
|
||||||
bb_t *bb = memcheck(calloc(1, sizeof(bb_t)));
|
bb_t *bb = memcheck(calloc(1, sizeof(bb_t)));
|
||||||
bb->columns[0] = COL_NAME;
|
strcpy(bb->columns, "*smpn");
|
||||||
strcpy(bb->sort, "+n");
|
strcpy(bb->sort, "+n");
|
||||||
cd_to(bb, path);
|
cd_to(bb, path);
|
||||||
run_script(bb, runstartup);
|
run_script(bb, runstartup);
|
||||||
|
@ -16,10 +16,6 @@ mark root /
|
|||||||
mark config "$XDG_CONFIG_HOME"
|
mark config "$XDG_CONFIG_HOME"
|
||||||
mark marks "$XDG_CONFIG_HOME/bb/marks"
|
mark marks "$XDG_CONFIG_HOME/bb/marks"
|
||||||
|
|
||||||
# Set viewing options
|
|
||||||
bb +sort:+n
|
|
||||||
bb +col:'*smpn'
|
|
||||||
|
|
||||||
# Load key bindings
|
# Load key bindings
|
||||||
# first check ~/.config/bb/bindings.bb, then /etc/xdg/bb/bindings.bb, then ./bindings.bb
|
# first check ~/.config/bb/bindings.bb, then /etc/xdg/bb/bindings.bb, then ./bindings.bb
|
||||||
if [ -e "$XDG_CONFIG_HOME/bb/bindings.bb" ]; then
|
if [ -e "$XDG_CONFIG_HOME/bb/bindings.bb" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user