mirror of
https://github.com/sajenim/rush.git
synced 2025-06-28 09:54:21 +08:00
refactor
This commit is contained in:
parent
998fc9cdca
commit
deeb4bc86f
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
mod core;
|
||||
use crate::core::*;
|
||||
use core::*;
|
||||
|
||||
mod inbuilt;
|
||||
use crate::inbuilt::*;
|
||||
use inbuilt::*;
|
||||
|
||||
use mlua::prelude::*;
|
||||
|
||||
|
@ -57,7 +57,7 @@ fn main() {
|
|||
args.extend(get_args(&alias_tokens));
|
||||
}
|
||||
|
||||
// Execute inbuilt command if match found, otherwise execute external command with
|
||||
// Execute inbuilt command if match found, otherwise execute external command with
|
||||
// arguments.
|
||||
match cmd.as_str() {
|
||||
"cd" => cd(&args),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue