Commit graph

7 commits

Author SHA1 Message Date
iridiumR
87eb989d79
feat(shell): import readline, and add simple history 2022-09-20 21:04:55 +08:00
iridiumR
5d3b5c5767
Revert "feat(line): add history record"
file descriptor and fork() is a mess.

This reverts commit 53bee9dfb0.
2022-09-19 09:34:14 +08:00
iridiumR
53bee9dfb0
feat(line): add history record
When the program exits, the history will be saved in ~/.fish_history
2022-09-18 22:12:57 +08:00
iridiumR
bbec5fbc2e
feat(builtin): add built-in command 2022-09-18 14:46:23 +08:00
iridiumR
d78af54b6c
feat(exec): add exec 2022-09-18 13:44:40 +08:00
iridiumR
7d7030a2d9
chore: change struct 2022-09-18 13:14:54 +08:00
iridiumR
14dc5a0975
feat(line): add line reading and spliting 2022-09-18 12:22:59 +08:00