Skip to content

mielsense/catshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v 1.0

catshell 📺

a simple yet elegant shell written in C 💌


Please do note there WILL BE memory leaks

All commands normally supported by your shell (included in your $PATH) shoud work and will be executed
The following builtins have been implemented :

setenv / unsetenv / env
config commands
exit

You can modify the aliases and startup art in the .config/init.txt file

Aliases should be formated in the following manner : alias:<alias>:<command>
And starup_art file = startup_art=<filepath>

The aliases can be turnt off and on by setting the use_aliases avlue to 0 or 1 respectively
It is not needed to recompile for the change to be effective !


Usage ⏸️


(Requires GCC to work)

Start with : make to build project
you will now have a catshell binary
(feel free to move it where ever pleases you but move the .config and ressources folder along).
(you might need to chmod +x catshell to allow its execution)

📺 quick tutorial:

./catshell # lauches the shell

Control D # stops the shell while its running
exit <value> # will exit on value, exits on 0 if not specified

set use_aliases <0/1> # set for the session the use of aliases (overwirtes the config file)

the rest works just like any other shell would !


Author 🫂

@mathis

Please do note this project was made as an Epitech project and as such has to follow its coding style
(so its not my fault if code looks bad af)

This project is open to contibutors for now ! (hit up my dms)

About

my very own shell 📺

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published