diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-23 23:44:44 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-23 23:44:44 +0200 |
| commit | 98eb242e282650e9c6645dd2e5290e144b105bb4 (patch) | |
| tree | 69963b6d1d5f51d8eaa5552f402ed34e0bd58241 /userspace/init.c | |
| parent | dadd5202a3ccfd8c03fb9eb60e6a15b0fb987672 (diff) | |
improved params and environment passing and started snake-game :)
Diffstat (limited to 'userspace/init.c')
| -rw-r--r-- | userspace/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/init.c b/userspace/init.c index 5d3658c..73848f5 100644 --- a/userspace/init.c +++ b/userspace/init.c @@ -13,7 +13,7 @@ int main(int argc, char **argv) if(pid==0) { char *argv[]={"/bin/foolshell",0}; - char *env[]={"PS1=$","PWD=/home/miguel","PATH=/bin","TERM=xterm",0}; + char *env[]={"PS1=\033[34m$\033[37m","PWD=/home/miguel","PATH=/bin","TERM=linux",0}; execve("/bin/foolshell",argv,env); // replace process with our foolshell :) puts("FATAL ERROR: Something terrible happened. Unable to Execute SHELL!"); while(1);// hang |
