fox shell
My own custom shell. Just making it as a passion project. Going to try and make it mostly POSIX compliant.
todo
- [x] rewrite handle arg function. tis bad pointer stuff
- [x] custom prompts
- [x] minimal current directory
- [x] handle ~
- [x] dynamically allocate cwd in cd builtin command
- [ ] history
- [ ] cursor movement
- [ ] tab to autocomplete files and dirs
- [ ] all of posixsxssssss
- [ ] aliases
- [x] $vars
- [x] make them more than space delimited
- [x] increase the SHLVL var
- [x] update pwd
- [x] quotes
- [x] single quotes
- [x] pop quotes a'b'c -> abc
- [ ] prompt uses PS1
- [x] pipes |
- [ ] &&
- [x] ;
- [x] redirection >
- [x] append >>
- [ ] redirection <
- [ ] heredoc <<
- [ ] &
- [ ] vi mode
- [ ] Env="something" ... executable args
- [ ] rcfile
- [ ] rcfile in config dir
testing
- [ ] use shellcheck-bin
