Compare commits

..

No commits in common. "ad5e96782a0c1c08d6fc3ec45db0b51630cd88cd" and "ea9eb49697a12b698b6dce8cadc3f24ae3a3147c" have entirely different histories.

4 changed files with 5 additions and 6 deletions

2
Cargo.lock generated
View file

@ -4,4 +4,4 @@ version = 3
[[package]] [[package]]
name = "rash" name = "rash"
version = "0.2.0" version = "0.1.0"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "rash" name = "rash"
version = "0.2.0" version = "0.1.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -6,8 +6,7 @@ I want to learn Rust and see how much effort I can put into making an interopera
# Roadmap # Roadmap
- [x] Execute commands - [ ] Execute commands
- [ ] Parse commands
- [ ] Variables - [ ] Variables
- [ ] Environment variables - [ ] Environment variables
- [ ] Builtins - [ ] Builtins
@ -15,5 +14,6 @@ I want to learn Rust and see how much effort I can put into making an interopera
- [ ] `set` - [ ] `set`
- [ ] `alias` - [ ] `alias`
- [ ] `type` - [ ] `type`
- [ ] Parse commands
- [ ] Command-line flags - [ ] Command-line flags
- [ ] PS1 - [ ] PS1

View file

@ -58,8 +58,7 @@ impl Command for UnixProgram {
exit_code exit_code
} else { } else {
let message = format!("{}: command not found", &program); error::print_error(format!("{}: command not found", program));
error::print_error(message);
ExitCode::new(127) ExitCode::new(127)
} }
} }