fdai7375
|
b54b4e703b
|
test: add change-prompt is builtin test
|
2 years ago |
fdai7375
|
9b6331458f
|
test: add pwd is builtin test
|
2 years ago |
fdai7375
|
9c24b7ff26
|
feat: add pwd builtin command
|
2 years ago |
fdai7381
|
9504af8a6f
|
refactoring: use whoami in bash like prompt
|
2 years ago |
fdai7381
|
1126a236e3
|
refactoring: remove unneeded return statement
|
2 years ago |
fdai7381
|
d887832224
|
fix: update prompt on iteration
|
2 years ago |
fdai7381
|
9f67319678
|
feat: update default prompt style
|
2 years ago |
fdai7381
|
2695cc24d1
|
feat: change prompt style 'None' to 'Default'
|
2 years ago |
fdai7381
|
a39b8ead8f
|
refactoring: sort imports
|
2 years ago |
fdai7381
|
86a72c1380
|
refactoring: make 'try_interpret' private
|
2 years ago |
fdai7381
|
9477a4de04
|
feat: add shell welcome message
|
2 years ago |
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 |