hash - A modern command line interpreter for Linux, macOS, and BSD.

by•
A modern command line interpreter for Linux, macOS, and BSD.

Add a comment

Replies

Best
Maker
📌
Hash is a comprehensive C-based command line shell interpreter for Linux, macOS, and BSD, providing a modern, secure, and POSIX-compliant alternative to traditional shells. Features include: - Tab completion for commands, files, and directories - Pipes and I/O redirection - Command chaining (&&, ||, ;) - Background processes with job control - Shell scripting with control structures (if/elif/else, for, while) - Command substitution $(command) - Aliases and .hashrc configuration - Environment variable expansion - Command history with HISTCONTROL support - Customizable PS1 prompts with git integration - Tilde expansion - Login shell support - Safe string handling functions - and many more features...
🔌 Plugged in

 

This is so cool!

it feels close enough to bash that I'm not lost, the scripting language feels so nice and reminds me of lua a little bit. it's clear and more readable than bash for sure.

the PS1 makes sense which is nice because I love having cool prompts.

Excited to try this in my next linux install!

 omg thanks for the upvote and follow, totally wasn’t expecting this early on 😊

At the moment I’m working on making things more stable with POSIX-compliance testing.

Thank you so much!!

 I'm hyped!

Also I wrote a hyperminimal window manager in bash but I might port it to hash when I have time. might launch that here lol.

As soon as I have the chance to move my main laptop to linux I'm giving this a proper spin on bare metal

hash

  • We had two contributions by . It's so exciting to have new contributors on a project so few people know about 😍

    • Preserve ./ in tab completion.

    • When source'ing, check for file in current working directory before PATH

  • Also in this release, a few housekeeping items 🧹

    • Added homebrew bin path to example .hashrc PATH

    • Applied Dependabot updates for GitHub Actions

    • Fixed findings detected by SonarQube

  • We use to test for POSIX compatibility, and are slowly chipping away at tests to increase our pass rate. We are at 71% and increasing our score with every release. 📈