Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ameerarsala/shellby
👀
https://github.com/ameerarsala/shellby
Last synced: about 1 month ago
JSON representation
👀
- Host: GitHub
- URL: https://github.com/ameerarsala/shellby
- Owner: AmeerArsala
- License: gpl-3.0
- Created: 2024-10-29T05:02:49.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T10:24:38.000Z (about 2 months ago)
- Last Synced: 2024-10-29T12:18:05.597Z (about 2 months ago)
- Language: HCL
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shellby
Organize your shells across OS's. Written in Rust btw
## The Plan
1.) Based on `$SHELL`, `$HOST` (aka OS), and file type (shellrc, login, logout, profile, etc.), choose a precompiled script to source from the cache. The location of this cache will differ based on the `$HOME` (due to the `$USER` being different).
2.) This cached file will have been precompiled where the system-wide defaults are first taken into account (from `/etc/shellby`) and then the user's customizations (from `$HOME/.shell`), taking care to override any of the conflicts with their latest versions and out comes the final script
3.) From both perspectives (system-wide and via user), a config file defines the behavior in which the compilation will occur
## Development
Must have [pipelight](https://pipelight.dev) installed.
```fish
pipelight enable git-hooks
```