aboutsummaryrefslogtreecommitdiff
path: root/bb.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-10-08 19:30:37 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-10-08 19:30:37 -0700
commit220d0dc4025e845b2060c2f508c70b90481a3796 (patch)
treeeed37b1a34f7c0dc9619d9a74a339e1ab8c219a9 /bb.c
parentc4620ece6015ada9ae7e70cadf3bc0bb0fe5b6d3 (diff)
Set default columns to what the startup commands were doing by default,
so that's no longer needed in the startup commands.
Diffstat (limited to 'bb.c')
-rw-r--r--bb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bb.c b/bb.c
index 1b539b1..9c21fce 100644
--- a/bb.c
+++ b/bb.c
@@ -1357,7 +1357,7 @@ int main(int argc, char *argv[])
setenv("BBINITIALPATH", path, 1);
bb_t *bb = memcheck(calloc(1, sizeof(bb_t)));
- bb->columns[0] = COL_NAME;
+ strcpy(bb->columns, "*smpn");
strcpy(bb->sort, "+n");
cd_to(bb, path);
run_script(bb, runstartup);