diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-05 01:30:03 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-05 01:30:03 -0800 |
commit | 8d4a701f865a5176d3a5814307156c9c98419311 (patch) | |
tree | e7ec1b4c599fa937d7a27bbf00c1600e8c3e1e8a /builtin.cpp | |
parent | 1c831447739c560416d5bd466a41649122166a09 (diff) |
Implement builtin [ via builtin test
Diffstat (limited to 'builtin.cpp')
-rw-r--r-- | builtin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.cpp b/builtin.cpp index d7d06e9c..12c02d6b 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -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") }, |