https://github.com/ad4ndi/vsh
Shell in C for Unix-like systems
https://github.com/ad4ndi/vsh
assembly c cli shell
Last synced: 4 months ago
JSON representation
Shell in C for Unix-like systems
- Host: GitHub
- URL: https://github.com/ad4ndi/vsh
- Owner: Ad4ndi
- License: bsd-3-clause
- Created: 2025-01-30T16:08:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-20T21:07:33.000Z (over 1 year ago)
- Last Synced: 2025-04-11T04:51:42.381Z (about 1 year ago)
- Topics: assembly, c, cli, shell
- Language: C
- Homepage:
- Size: 28.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VivaShell v2.2 Recoded
Vsh is a minimalist shell written in C. It supports basic command-line functionality, custom modules and unicode. There is no command history or auto-completion yet, but it will be soon...
### Dependencies
- clang
- guile
- nasm
### Installation Steps
1. **Clone the repository:**
```bash
git clone https://github.com/Ad4ndi/vsh
cd vsh
```
2. **Run the installation script:**
```bash
guile build.scm
```
### Configuration
The configuration file is located in **config.asm**, where you can configure only the prompt and the path to the binary files for now.
### Custom modules
Custom modules are located in the **"lib"** directory. To create your own, you can follow the example of the ready-made **"hello.c"** module
To compile ours together with our module, you need to add the **"-l"** option, and then specify the directory to your .c file:
```bash
guile build.scm -l lib/hello.c
```
You can call module using **"call"** command in the shell:
```bash
call hello Ad4ndi
```
### Screenshots
