{"id":21360632,"url":"https://github.com/zachwhaley/zh","last_synced_at":"2025-03-16T06:36:21.037Z","repository":{"id":152226831,"uuid":"65956408","full_name":"zachwhaley/zh","owner":"zachwhaley","description":"An exercise in writing a unix shell","archived":false,"fork":false,"pushed_at":"2017-08-23T21:16:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T19:11:36.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zachwhaley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-18T01:58:15.000Z","updated_at":"2016-08-18T04:27:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"86f0c618-6265-41a0-83e9-3b94fc0b708c","html_url":"https://github.com/zachwhaley/zh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachwhaley%2Fzh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachwhaley%2Fzh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachwhaley%2Fzh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachwhaley%2Fzh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zachwhaley","download_url":"https://codeload.github.com/zachwhaley/zh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835951,"owners_count":20355611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T05:35:33.763Z","updated_at":"2025-03-16T06:36:21.012Z","avatar_url":"https://github.com/zachwhaley.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zh\n\nzh is an exercise in writing Unix shells, following [A Unix Shell in Ruby](http://www.jstorimer.com/blogs/workingwithcode/7766107-a-unix-shell-in-ruby).\n\nEach shell should have four stages of development:\n\n1. Running commands\n  - Display a prompt\n  - Read a command from stdin\n  - Run the command as its own process (fork and exec)\n2. Builtin commands\n  - Change directory using a builtin `cd` command\n  - Exit the shell using a builtin `exit` command\n3. Environment variables\n  - Display current directory in prompt\n  - Change your `PATH` using a builtin `set` command\n4. Configuration\n  - Read simple commands from a config file\n5. Pipelines\n  - Implement piping, e.g. `ls | grep zh`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachwhaley%2Fzh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachwhaley%2Fzh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachwhaley%2Fzh/lists"}