Commit Graph

34 Commits

Author SHA1 Message Date
iridiumR 2d6d6f3390
chore: add GPL3 license 2023-03-30 21:05:04 +08:00
iridiumR 64b74104af
feat: update help information 2023-03-30 18:55:23 +08:00
iridiumR 58bc0c37d1
fix: fix error when " not pair 2023-03-30 18:36:56 +08:00
iridiumR bf9d74db8e
feat: update postgres 2023-03-30 18:12:54 +08:00
iridiumR 19eaeb08db
feat: add support for split forbid 2023-03-30 18:12:29 +08:00
iridiumR d7c03761a4
chore: update debug settings 2023-03-30 18:11:42 +08:00
iridiumR 6c0a67601b
feat: update makefile 2023-03-30 17:00:42 +08:00
iridiumR 4171428076
feat(builtin): add support for pgsql 2023-03-29 23:31:17 +08:00
iridiumR f99caf42f3
feat(signal): change the behaviour of SIGINT
In previous versions, when a SIGINT was received, the program would exit
if there were no child processes, now the behavior is changed to not
exit and start a new line.
2022-09-20 22:29:59 +08:00
iridiumR 87eb989d79
feat(shell): import readline, and add simple history 2022-09-20 21:04:55 +08:00
iridiumR 5c8ed315f7
feat: add some color 2022-09-20 20:26:26 +08:00
iridiumR 72f9204ea6
feat(builtin): add built-in functions 2022-09-20 20:25:49 +08:00
iridiumR 781e59236d
fix(vscode): fix option 2022-09-20 11:55:34 +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 0a3efb2bd9
feat(builtin): add the founction to read exit status 2022-09-18 23:35:26 +08:00
iridiumR d9f5d5a708
perf: fix something 2022-09-18 23:22:20 +08:00
iridiumR 54ea6337e9
fix(history): fix history file write bug 2022-09-18 22:35:31 +08:00
iridiumR e0c5cab7c8
chore: update readme 2022-09-18 22:30:49 +08:00
iridiumR 51663f0d8f
fix(build): fix make clean command 2022-09-18 22:20:24 +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 72b7a424b7
build: improve build efficiency 2022-09-18 21:48:23 +08:00
iridiumR 4a018bad5d
feat(builtin): add built-in functions
add setenv, unset, echo command to check env
2022-09-18 20:49:09 +08:00
iridiumR 329262e47b
style(header): add config header 2022-09-18 20:44:33 +08:00
iridiumR 7e74a8fd45
fix(soft-irq): fix SIGINT exit error 2022-09-18 20:43:39 +08:00
iridiumR c57d46a171
feat(builtin): add clear command 2022-09-18 14:53:38 +08:00
iridiumR 0ecd13c0bb
chore(vscode): update vscode config 2022-09-18 14:46:42 +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 c1a1726430
chore(vscode): add vscode config 2022-09-18 12:23:26 +08:00
iridiumR 14dc5a0975
feat(line): add line reading and spliting 2022-09-18 12:22:59 +08:00
iridiumR c2b3c98e31
fix(main): fix SIGINT exit 2022-09-18 11:44:39 +08:00
iridiumR 88cabfb434
feat(main): add SIGINT detect 2022-09-18 11:24:31 +08:00
iridiumR 69229a3285
feat: new shell form hell 2022-09-18 11:15:07 +08:00