Skip to content
/ z.sh Public

Z.sh is shell script that compiles and runs the zig executable in one command.

Notifications You must be signed in to change notification settings

anuragts/z.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Z.sh

Z.sh is shell script that compiles and runs the zig executable in one command.

How to run

z.sh <filename with extension>
example - z.sh hello_world.zig 

How to Install

Git clone
git clone https://github.com/anuragts/z.sh.git

cd z.sh
Copy Z.sh to global path
sudo cp ./z.sh <global path>
example - sudo cp ./z.sh  /usr/local/bin/
Compile to executable
sudo chmod +x <global path>/z.sh

example - sudo chmod +x /usr/local/bin/z.sh
Run & test
z.sh hello.zig

Successful test will return Hello World .

About

Z.sh is shell script that compiles and runs the zig executable in one command.

Topics

Resources

Stars

Watchers

Forks