From 6d50d5b97d49a74a8faf587ec2bbf234626adf0c Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Tue, 19 Oct 2021 14:16:54 -0700 Subject: Feat(rc): added subshell commands and cd builtin Slowly chipping away at a decent feature list. Subshell commands are executed by @{ ... }. --- sys/cmd/rc/exec.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/cmd/rc/exec.h') diff --git a/sys/cmd/rc/exec.h b/sys/cmd/rc/exec.h index 0df01d0..9ad0f3d 100644 --- a/sys/cmd/rc/exec.h +++ b/sys/cmd/rc/exec.h @@ -15,8 +15,10 @@ void Xlocal(void); void Xreadcmd(void); void Xunlocal(void); void Xassign(void); +void Xbang(void); void Xasync(void); -void Xbasic(void); // Xbasic(args) run command and wait for result +void Xbasic(void); // Xbasic(args) run command and wait for result +void Xsubshell(void); void Xword(void); void Xcount(void); void Xflat(void); @@ -24,6 +26,7 @@ void Xflat(void); void Xerror(char*); /* builtin commands */ +void xcd(void); void xfg(void); void xdot(void); void xjob(void); -- cgit v1.2.1