fdai7381
|
0926afe80a
|
feat: change prompt style 'None' to 'Default'
|
2 years ago |
fdai7381
|
b2e4dc5353
|
refactoring: sort imports
|
2 years ago |
fdai7381
|
0676e774b8
|
refactoring: make 'try_interpret' private
|
2 years ago |
fdai7381
|
944adf87f2
|
feat: add shell welcome message
|
2 years ago |
fdai7451
|
6fe809a2eb
|
refactoring: move error catching match statement to other file
|
2 years ago |
fdai7451
|
494e7d0d79
|
refactoring: fmt preprocessing tests
|
2 years ago |
fdai7451
|
b6f3abaa82
|
fix: update env set regex
|
2 years ago |
fdai7451
|
6b15c76e23
|
test: add env variable resolve test
|
2 years ago |
fdai7451
|
e6ee00b021
|
feat: add env variable resolving to preprocessing
|
2 years ago |
fdai7451
|
c472d2bdd7
|
chore: exclude merge commits when counting user commits
|
2 years ago |
fdai7451
|
65b9ff6185
|
refactoring: unwrap preprocessing env set key as its always Some
|
2 years ago |
fdai7451
|
0b9cf63fcb
|
test: add preprocess set variable test
|
2 years ago |
fdai7451
|
dd0aec5280
|
feat: return option inside the preprocess result
|
2 years ago |
fdai7451
|
d2f8ca61ca
|
feat: add preprocessing function
|
2 years ago |
fdai7451
|
b94fffc952
|
refactoring: fmt change prompt tests
|
2 years ago |
fdai7451
|
968db58584
|
test: add change prompt valid and invalid arg test
|
2 years ago |
fdai7451
|
2d8136033c
|
test: add change prompt args test
|
2 years ago |
fdai7451
|
cd47c0a793
|
refactoring: remove return from prompt style fmt functions
|
2 years ago |
fdai7451
|
362d3ea667
|
feat: add bash-like prompt style
|
2 years ago |
fdai7451
|
04c41aaa93
|
refactoring: remove prompt format path argument
|
2 years ago |
fdai7451
|
fb41de9c2e
|
test: add cd test without args
|
2 years ago |
fdai7451
|
34bc88e42d
|
feat: change directory to home if no argument is given to cd
|
2 years ago |
fdai7451
|
19c80dd121
|
feat: add simple directory prompt
|
2 years ago |
fdai7451
|
d74949a0d4
|
refactoring: simplify main loop match break and continue arms
|
2 years ago |
fdai7451
|
1d1ccb7e98
|
feat: add command to change prompt style
|
2 years ago |
fdai7451
|
5f9a2c8f27
|
feat: add command prompt styles
|
2 years ago |
fdai7451
|
d283e988f3
|
feat: add session based command history
|
2 years ago |
fdai7451
|
f3a93de8d5
|
feat: do not exit on ctrl-c while executing a not builtin command
|
2 years ago |
fdai7451
|
9ff8bcb190
|
refactoring: use String instead of &str in interpret
|
2 years ago |
fdai7451
|
e021343b07
|
feat: continue instead of exit on ctrl-c
|
2 years ago |
fdai7451
|
b82e1a1864
|
refactoring: remove brackets of Prompt struct
|
2 years ago |
fdai7451
|
786deec960
|
test: remove exit tests
|
2 years ago |
fdai7451
|
f0bd9f8397
|
feat: exit directly when using exit command
|
2 years ago |
fdai7381
|
4a2c5d713c
|
test: add exit without args test
|
2 years ago |
fdai7381
|
7614798e4e
|
refactoring: update cd test naming
|
2 years ago |
fdai7381
|
b04e5e6280
|
test: add exit test
|
2 years ago |
fdai7451
|
5d0f600cc4
|
test: add is not a builtin test
|
2 years ago |
fdai7451
|
8ca75427d9
|
test: add cd not existent directory test
|
2 years ago |
fdai7451
|
8965c89d2c
|
test: add cd current directory test
|
2 years ago |
fdai7451
|
b9f3007d9e
|
feat: use trait to define builtins
|
2 years ago |
fdai7451
|
3e765bd2ec
|
test: add parse line malformed word test
|
2 years ago |
fdai7451
|
76b141fd1f
|
test: add parse line complex word test
|
2 years ago |
fdai7451
|
0d92a80707
|
test: add parse line multiple word test
|
2 years ago |
fdai7451
|
1fb4176a8b
|
test: add parse line single word test
|
2 years ago |
fdai7451
|
716473252d
|
feat: make shell error comparable
|
2 years ago |
fdai7451
|
7908e28279
|
feat: use shlex to parse line
|
2 years ago |
fdai7451
|
3ee0fbfea9
|
fix: use eprintln to print errors
|
2 years ago |
fdai7451
|
615eacc8f0
|
refactoring: unify match error arms
|
2 years ago |
fdai7381
|
f0a86b3866
|
test: add exit is builtin test
|
2 years ago |
fdai7381
|
e6c5300dc1
|
feat: add exit builtin command
|
2 years ago |