mirror of
https://github.com/sajenim/rush.git
synced 2025-06-28 01:44:21 +08:00
rename project as rush is taken by multiple projects
This commit is contained in:
parent
fa47639ef3
commit
2b0053f1d7
6 changed files with 5 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -246,7 +246,7 @@ dependencies = [
|
|||
]
|
||||
|
||||
[[package]]
|
||||
name = "rush"
|
||||
name = "rshx"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"mlua",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "rush"
|
||||
name = "rshx"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# RuSH
|
||||
# Rust SHell eXtensible
|
||||
|
||||
Learning rust by making a shell.
|
||||
|
|
|
@ -15,7 +15,7 @@ pub fn cd(args: &[String]) {
|
|||
}
|
||||
|
||||
pub fn help() {
|
||||
println!("RuSH v0.1.0");
|
||||
println!("rshx 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 'rshx'")
|
||||
.exec()
|
||||
.expect("Failed to load configuration.");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue