Implement builtin [ via builtin test

This commit is contained in:
ridiculousfish
2013-01-05 01:30:03 -08:00
parent 1c83144773
commit 8d4a701f86
3 changed files with 64 additions and 7 deletions

View File

@@ -3992,6 +3992,7 @@ static int builtin_history(parser_t &parser, wchar_t **argv)
static const builtin_data_t builtin_datas[]=
{
{ L".", &builtin_source, N_(L"Evaluate contents of file") },
{ L"[", &builtin_test, N_(L"Test a condition") },
{ L"and", &builtin_generic, N_(L"Execute command if previous command suceeded") },
{ L"begin", &builtin_begin, N_(L"Create a block of code") },
{ L"bg", &builtin_bg, N_(L"Send job to background") },