linode-caddy
Batsh
linode-caddy | Batsh | |
---|---|---|
1 | 8 | |
3 | 4,281 | |
- | 0.1% | |
5.2 | 2.8 | |
21 days ago | about 1 year ago | |
Jinja | OCaml | |
GNU Affero General Public License v3.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
linode-caddy
-
s/bash/zsh/g
I have to say, I use fish and I customize my prompt... is starship really necessary? I recognize starship is cross-shell, but if I standardize on installing fish on my machines, I'm not sure I need that feature.
Is there a "killer app" for starship that you can't get from writing out your prompt in a fish shell script?
Here's mine: https://github.com/maximum-ethics/linode-caddy/blob/master/r...
It's a 3-line prompt with a timestamp on the first line, my username@host + pwd on the 2nd line, and the actual prompt with the cursor on the 3rd line. I'm now considering swapping the timestamp to the right side after that possibility was mentioned in other comments in this thread.
Batsh
-
Show HN: Just.sh – compiler that turns Justfiles into portable shell scripts
https://github.com/batsh-dev-team/Batsh
https://github.com/tdenniston/bish
(Just fyi. I've been collecting links to similar things because of Reasons).
-
“Exit Traps” Can Make Your Bash Scripts Way More Robust and Reliable
I wish there was a nicer shell scripting language that simply transpiled to Bash and would generate all this boilerplate code for me. There is https://batsh.org/ which has a nice syntax but it doesn't even support pipes or redirection, making it pretty worthless for shell scripting. I haven't found any other such scripting languages.
-
If Bash had more intuitive syntax and wasn't so annoying to use, would it have made scripting languages more popular for more tasks earlier on?
There are some languages that compile into bash like Batch. Shell commands can also be called from Python code using this (never tried it): https://plumbum.readthedocs.io/en/latest/index.html
-
Make bash script executable on Android and Windows
Maybe https://github.com/batsh-dev-team/Batsh
- Any tips to convert bat scripts to sh?
-
s/bash/zsh/g
Not really what you're asking for, but a language that compiles to bash for portability reminded me of Batsh [0], a C-like language that compiles to bash for Linux/Mac and batch for Windows.
[0] https://github.com/batsh-dev-team/Batsh
-
[QUESTION] Cross-platform scripting
There used to be something called Batsh as well but no longer seems to be actively developed
-
Why Create a New Unix Shell? (2021)
There are a couple projects that provide a language that compiles to Bash, which gets around Oil's portability problem somewhat. Bish and Batsh come to mind.
What are some alternatives?
plugin-bang-bang - Bash style history substitution for Oh My Fish
fzf-tab - Replace zsh's default completion selection menu with fzf!
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
zsh-abbr - The zsh manager for auto-expanding abbreviations, inspired by fish shell.
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
zgenom - A lightweight and fast plugin manager for ZSH
scripting-field-guide - A booklet on mid-advanced scripting techniques
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
zplug - :hibiscus: A next-generation plugin manager for zsh
warp - Create self-contained single binary applications