Skip to content

Spydr06/sheesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sheesh

!! This shell is far away from being somehow usable or in a working condition !! A small and fast linux shell written in Rust, inspired by hilbish and fish.

Note, that this shell will not be POSIX compatible.

Installation

To install sheesh, first download this repository and enter it:

git clone https://github.com/spydr06/sheesh.git
cd ./sheesh

Then compile and install it using cargo:

cargo install --path .

Syntax

At the moment, I'm not very sure about how the syntax will be, although I opt for Ruby or Crystal like syntax since its easy to read, write and (most importantly) parse. So (hopefully) the syntax will look something like this:

#!/bin/sheesh
# import another script
require 'foo.sh'

# set a useful alias
alias ls = "ls -al"

# define some functions
def foo
    echo "Hello World!"
    
    $value = true
    if $value
        echo "{$value} will always be true"
    end
end

foo()

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

sheesh is licensed under the MIT license.