plugin-bang-bang
Batsh
plugin-bang-bang | Batsh | |
---|---|---|
7 | 8 | |
118 | 4,281 | |
0.0% | 0.1% | |
2.3 | 2.8 | |
9 months ago | about 1 year ago | |
Shell | OCaml | |
MIT License | - |
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.
plugin-bang-bang
-
What should I do? (I'm a noob)
I use this to have it work exactly like in bash. You don't really need to install the plugin you just copy paste the code inside the functions folder in your config.fish, it's like 20 lines.
-
I want to replace zsh with fish. Should I install it using homebrew or their own pkg installer?
Fish has plugin which adds !! functionality https://github.com/oh-my-fish/plugin-bang-bang
-
Fish Shell 3.5 Released
omf install bang-bang
- My personal favorite thing about any programming language.
-
s/bash/zsh/g
The first thing in install with oh-my-fish is bang-bang, which fixes this issue for me.
https://github.com/oh-my-fish/plugin-bang-bang
- Is there a plugin for the !! command like in zsh?
-
Is there a way to make the part of the command you write colorful (bash)?
Take a look at fish plugins. Use oh my fish or fisher for plugin management and install bang bang. It's what you're looking for! There are also lists of plugins and themes/prompts, you may be interested in those too.
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?
puffer-fish - 🐡 Text Expansions for Fish
linode-caddy - Ansible role that sets up a web server running Caddy on Linode.
oh-my-fish - The Fish Shell Framework
fzf-tab - Replace zsh's default completion selection menu with fzf!
zplug - :hibiscus: A next-generation plugin manager for zsh
zsh-abbr - The zsh manager for auto-expanding abbreviations, inspired by fish shell.
fish-shell - The user-friendly command line shell.
zgenom - A lightweight and fast plugin manager for ZSH
scripting-field-guide - A booklet on mid-advanced scripting techniques