A Zsh binary module that provides direct Redis database support by binding shell variables to Redis keys.
Zredis is a Zsh module written in C that integrates Redis directly into the Zsh shell environment. It enables seamless interaction with Redis databases by mapping Redis data types to native Zsh variables, allowing developers to manipulate Redis data as if they were local shell structures.
Variable Binding — Binds Redis keys to Zsh variables using the ztie command, enabling direct read/write operations.
Full Data Type Support — Maps all Redis data types (strings, hashes, sets, sorted sets, lists) to appropriate Zsh data structures.
Lazy Binding — Supports deferred database connections and optional key creation on first write.
Cache Management — Includes configurable read caching with manual cache clearing via ztclear.
Optimized Operations — Provides specialized builtins like zrpush for efficient list operations and optimized hash-set handling.
Zredis is designed to make Redis interaction feel native to Zsh, eliminating the need for repetitive redis-cli invocations by treating database operations as natural shell variable manipulations.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.