rename project
This commit is contained in:
parent
fa47639ef3
commit
d631bba13b
6 changed files with 14 additions and 14 deletions
20
Cargo.lock
generated
20
Cargo.lock
generated
|
@ -45,6 +45,16 @@ version = "1.0.0"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "crsh"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"mlua",
|
||||
"shellexpand",
|
||||
"shlex",
|
||||
"whoami",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dirs"
|
||||
version = "6.0.0"
|
||||
|
@ -245,16 +255,6 @@ dependencies = [
|
|||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rush"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"mlua",
|
||||
"shellexpand",
|
||||
"shlex",
|
||||
"whoami",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustc-hash"
|
||||
version = "2.1.1"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "rush"
|
||||
name = "crsh"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# RuSH
|
||||
# Crab Shell
|
||||
|
||||
Learning rust by making a shell.
|
||||
|
|
|
@ -15,7 +15,7 @@ pub fn cd(args: &[String]) {
|
|||
}
|
||||
|
||||
pub fn help() {
|
||||
println!("RuSH v0.1.0");
|
||||
println!("crsh v0.1.0");
|
||||
println!("---------------------");
|
||||
println!("Available Commands:");
|
||||
println!(" cd - Change directory");
|
||||
|
|
|
@ -58,7 +58,7 @@ fn main() {
|
|||
let lua = Lua::new();
|
||||
|
||||
// Retreive Lua source code from configuration file.
|
||||
lua.load("config = require 'rush'")
|
||||
lua.load("config = require 'crsh'")
|
||||
.exec()
|
||||
.expect("Failed to load configuration.");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue