Linux Shell Made in Rust

Ghosthx-Code1 pts0 comments

GitHub - Ghosthx-Code/NaShell: A shell in rust and lua · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

Ghosthx-Code

NaShell

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>8 Commits<br>8 Commits

binary

binary

rust

rust

.gitinore

.gitinore

Package.toml

Package.toml

README.md

README.md

View all files

Repository files navigation

NaShell

A shell in rust and lua

Config

git clone https://Ghosthx-Code/NsShell<br>cd NaShell<br>mv binary/shell .<br>sudo mv shell /usr/local/bin/shell

cd ..<br>mkdir ~/.config/NaShell<br>touch ~/.config/NaShell/config.lua<br># go to command for the code to config.lua<br># Make it your shell

Code-Lua

Lua Commands

") -- sets prompt

-- to get dir<br>shell:help() -- prints all lua code and what it does

shell:alias("nv", "nvim .") -- sets a a command

shell:addr("nv", "nvim") -- type nv and it does nvim ">-- shell:set_prompt() set the prompt like<br>shell:set_prompt("&(white)[&(TIME)] &(green)[&(DIR)] &(cyan)> ") -- sets prompt

-- to get dir<br>shell:help() -- prints all lua code and what it does

shell:alias("nv", "nvim .") -- sets a a command

shell:addr("nv", "nvim") -- type nv and it does nvim

About

A shell in rust and lua

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

Rust<br>100.0%

You can’t perform that action at this time.

shell code rust nashell reload nvim

Related Articles