fdai7451
|
baaa219b40
|
refactoring: move error catching match statement to other file
|
2 years ago |
fdai7451
|
13c3779635
|
refactoring: fmt preprocessing tests
|
2 years ago |
fdai7451
|
e70c074991
|
fix: update env set regex
|
2 years ago |
fdai7451
|
8989ae7a65
|
test: add env variable resolve test
|
2 years ago |
fdai7451
|
1dd0359d4c
|
feat: add env variable resolving to preprocessing
|
2 years ago |
fdai7451
|
d7312043d7
|
chore: exclude merge commits when counting user commits
|
2 years ago |
fdai7451
|
b3bdcb164b
|
refactoring: unwrap preprocessing env set key as its always Some
|
2 years ago |
fdai7451
|
fa05e903ad
|
test: add preprocess set variable test
|
2 years ago |
fdai7451
|
152c638d76
|
feat: return option inside the preprocess result
|
2 years ago |
fdai7451
|
80cd94232a
|
feat: add preprocessing function
|
2 years ago |
fdai7451
|
4bce3cd5bc
|
refactoring: fmt change prompt tests
|
2 years ago |
fdai7451
|
e715d7200c
|
test: add change prompt valid and invalid arg test
|
2 years ago |
fdai7451
|
e324d72f78
|
test: add change prompt args test
|
2 years ago |
fdai7451
|
c8c3b9f3f5
|
refactoring: remove return from prompt style fmt functions
|
2 years ago |
fdai7451
|
087b0e2072
|
feat: add bash-like prompt style
|
2 years ago |
fdai7451
|
696f23b4ef
|
refactoring: remove prompt format path argument
|
2 years ago |
fdai7451
|
f3acf0c486
|
test: add cd test without args
|
2 years ago |
fdai7451
|
f9206e16de
|
feat: change directory to home if no argument is given to cd
|
2 years ago |
fdai7451
|
bbe000158d
|
feat: add simple directory prompt
|
2 years ago |
fdai7451
|
7fa7ee5004
|
refactoring: simplify main loop match break and continue arms
|
2 years ago |
fdai7451
|
06ce1ffe25
|
feat: add command to change prompt style
|
2 years ago |
fdai7451
|
f2f50e20f8
|
feat: add command prompt styles
|
2 years ago |
fdai7451
|
70e18add89
|
feat: add session based command history
|
2 years ago |
fdai7451
|
33a6385db8
|
feat: do not exit on ctrl-c while executing a not builtin command
|
2 years ago |
fdai7451
|
2ed92df374
|
refactoring: use String instead of &str in interpret
|
2 years ago |
fdai7451
|
cc1b1838a6
|
feat: continue instead of exit on ctrl-c
|
2 years ago |
fdai7451
|
9d29e4f978
|
refactoring: remove brackets of Prompt struct
|
2 years ago |
fdai7451
|
496318fcbc
|
test: remove exit tests
|
2 years ago |
fdai7451
|
357747ccf0
|
feat: exit directly when using exit command
|
2 years ago |
fdai7381
|
289e07e3b6
|
test: add exit without args test
|
2 years ago |
fdai7381
|
4bb2a0fbf0
|
refactoring: update cd test naming
|
2 years ago |
fdai7381
|
5e82870c49
|
test: add exit test
|
2 years ago |
fdai7451
|
e03948ea0c
|
test: add is not a builtin test
|
2 years ago |
fdai7451
|
9940640067
|
test: add cd not existent directory test
|
2 years ago |
fdai7451
|
764b9569b0
|
test: add cd current directory test
|
2 years ago |
fdai7451
|
c22a7efb7c
|
feat: use trait to define builtins
|
2 years ago |
fdai7451
|
371f69c556
|
test: add parse line malformed word test
|
2 years ago |
fdai7451
|
3cd7340b44
|
test: add parse line complex word test
|
2 years ago |
fdai7451
|
adfa5ee90b
|
test: add parse line multiple word test
|
2 years ago |
fdai7451
|
1597fe1dbc
|
test: add parse line single word test
|
2 years ago |
fdai7451
|
2ee92751f8
|
feat: make shell error comparable
|
2 years ago |
fdai7451
|
66edb724bd
|
feat: use shlex to parse line
|
2 years ago |
fdai7451
|
b18d62705b
|
fix: use eprintln to print errors
|
2 years ago |
fdai7451
|
1e60631006
|
refactoring: unify match error arms
|
2 years ago |
fdai7381
|
64774881b9
|
test: add exit is builtin test
|
2 years ago |
fdai7381
|
23e6cfd4b0
|
feat: add exit builtin command
|
2 years ago |
fdai7381
|
5f399c0839
|
feat: add exit shell error
|
2 years ago |
fdai7381
|
49614f503d
|
refactoring: remove unnecessary internal keyword parameter
|
2 years ago |
fdai7375
|
3d17cc2fdd
|
test: add cd is builtin test
|
2 years ago |
fdai7375
|
f5812d5e88
|
feat: add cd builtin command
|
2 years ago |