fshell is a simple shell write in C. The goal is to become a shell starter example.
- |, &&
- built-in command
- init file support
- list alias - list all alias
- cd [dir] - switch dir_
cd .... - return previous folder - alias [alias name] [original name] - alias a to b
- unalias [alias name] ... - unalias a , ... can replace with your alias variable
- set [name] [value] - set env variable [name] = [value]
- unset [name] ... - unset a , ... can replace with your env variable
- print [name] ... - print a env value and alias value
- load [file] ... - load a configuration file with built-in commands
- FSHELL_PIPE_NUM - the number of one-dimensional arrays of two-dimensional arrays to be used for pipe Example: set FSHELL_PIPE_NUM 20 (can be left out if you don't know)
- built-in command support (set, unset, alias, unalias, load)
- The file is located at ${HOME}/.fshellrc