Batsh
powerlevel10k
Batsh | powerlevel10k | |
---|---|---|
8 | 291 | |
4,281 | 43,035 | |
0.1% | - | |
2.8 | 8.7 | |
about 1 year ago | 7 days ago | |
OCaml | Shell | |
- | 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.
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.
powerlevel10k
-
Terminal commands I use as a frontend developer
That’s the minimum terminal setup. You can modify the look and add plugins such as autocompletion to your terminal by installing ohmyzsh and using themes such as powerlevel10k. I am already using them.
-
Oh My Zsh
I used ohmyzsh with powerlevel10k/powerlevel10k[0] for years though recently i've settled on fish [1]
[0] https://github.com/romkatv/powerlevel10k
-
Weird Color Stuff In The Terminal
I had just gone through a fun tutorial for setting up oh-my-zsh with a nice color scheme from iterm2colorschemes.com and a decent prompt and I was wondering: can I make my oblique strategy look nice? how can you actually use the colors from your scheme in the output in your cli?
-
Quickest path to a decent zsh setup?
A more robust way to do this would be to add simple wrappers that clone any external Zsh plugins you use regularly and store them in your own $ZSH_CUSTOM. For example, you say you like Powerlevel10k, so make that an OMZ plugin:
-
where can I get the below linux terminal theme?
Looks like PowerLevel10 theme for Zsh shell
-
Setup Macbook for Frontend Dev
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
-
fish-shell: the user-friendly command-line shell
Am i the only one who feels fish is not worth it despite of hype? Don't get me wrong. I think that fish is really good shell.
BUT...
After adding the following plugins to zsh(before you chime in, it's just adding these lines,not anything configuring much. also it auto bootstraps on new install), I found out that fish is no where near configured zsh.
1) https://github.com/zdharma-continuum/zinit (plugin manager)
2) https://github.com/zdharma-continuum/fast-syntax-highlightin...
3) https://github.com/zdharma-continuum/history-search-multi-wo...
4) https://github.com/zsh-users/zsh-autosuggestions
5) https://github.com/zsh-users/zsh-completions
6) https://github.com/Aloxaf/fzf-tab
7) any good shell prompt generator like https://github.com/romkatv/powerlevel10k
For example, I use fzf integration for tab completion. Fish's fzf integration is nowhere as good as that of zsh's. Also, posix compat and almost bash compat of zsh is plus.
I acknowledge that zsh isn't perfect shell either and I have tried and failed few times in past to switch to fish. If you provide me compelling reason/s to switch to fish, I am all ears.
-
How to use neovim as a server?
To build upon that concept, you can even have your shell prompt display a symbol if you have a backgrounded job. I use https://github.com/romkatv/powerlevel10k and the background_jobs handles it for me.
-
Which terminal do you use? I don't like Warp
I also use PowerLevel10k. Themes up your zsh to make it look nice, pretty customisable.
-
How to get this type of User and Hostname in Powerlevel10k?
start here: https://github.com/romkatv/powerlevel10k
What are some alternatives?
linode-caddy - Ansible role that sets up a web server running Caddy on Linode.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
fzf-tab - Replace zsh's default completion selection menu with fzf!
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.
zsh-abbr - The zsh manager for auto-expanding abbreviations, inspired by fish shell.
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
zgenom - A lightweight and fast plugin manager for ZSH
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
scripting-field-guide - A booklet on mid-advanced scripting techniques
fish-shell - The user-friendly command line shell.
zplug - :hibiscus: A next-generation plugin manager for zsh
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more