hush: implement $-, set default PATH if it is not set on startup
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 May 2019 14:29:09 +0000 (16:29 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 May 2019 14:29:09 +0000 (16:29 +0200)
commitef8985c688e9e5e9e8bc29f38d1f05f543c30acb
treeedba3e2bc66f39331b255d3a25d9b6342017b8ce
parent0c3601936915d3d625683388c62c561de96a47da
hush: implement $-, set default PATH if it is not set on startup

function                                             old     new   delta
expand_one_var                                      2311    2362     +51
hush_main                                           1075    1104     +29
parse_dollar                                         790     791      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 81/0)               Total: 81 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c