Skip to content

Ghosthx-Code/NaShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NaShell

A shell in rust and lua

Config

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

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

Code-Lua

  • Lua Commands
-- shell:set_prompt() set the prompt like
shell:set_prompt("&(white)[&(TIME)] &(green)[&(DIR)] &(cyan)> ") -- sets prompt

-- to get dir
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

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages