diff options
| author | tjg <tjg> | 2002-04-03 14:57:21 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:21 +0100 |
| commit | 5ebf72443b04d110e41c9f2f9dbc6a9796862e38 (patch) | |
| tree | fe5cd2f68a4127c2aa14a2bdc343e4ec292fb383 /main.c | |
| parent | 94fa27339355b25aeb93a02ac36ab3b7921810b5 (diff) | |
Feature: make $version less magical, and exportable.
Bug: make $bqstatus and $status not exportable.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -74,12 +74,13 @@ quitopts: initsignal(); inithash(); initparse(); - assigndefault("prompt", "; ", "", (void *)0); + assigndefault("ifs", " ", "\t", "\n", (void *)0); #ifdef DEFAULTPATH assigndefault("path", DEFAULTPATH, (void *)0); #endif - assigndefault("ifs", " ", "\t", "\n", (void *)0); assigndefault("pid", nprint("%d", rc_pid), (void *)0); + assigndefault("prompt", "; ", "", (void *)0); + assigndefault("version", VERSION, "$Release: @(#)" PACKAGE " " VERSION " " RELDATE " $", (void *)0); initenv(envp); initinput(); null[0] = NULL; |