ble.sh
bash-it
Our great sponsors
ble.sh | bash-it | |
---|---|---|
50 | 19 | |
1,980 | 13,976 | |
- | 0.5% | |
9.1 | 4.1 | |
18 days ago | 9 days ago | |
Shell | Shell | |
BSD 3-clause "New" or "Revised" License | 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.
ble.sh
-
[Release v0.2.0] promkit: A toolkit for building interactive command-line tools in Rust
So could someone say use this to reimplement blesh in Rust?
- After years of bash, I actually found a shortcut I never heard about.
-
Which Shell?
Bash + ble.sh = fish like interactive features but still bash.
-
Sweet Shell: With Oh-My-Zsh, SpaceVim, Starship, True Color, and Demo Mode
> Autocompletion is one thing zsh does better, and that alone is worth it IMO. It can autocomplete things other than filenames and even gives you a short description for each of the subcommands or CLI options in the completion candidates. For the most common commands, this works without even having to install third party completion scripts.
The joke here is: All this requires additional scripts / configs. Whether bundled or not…
With those scripts / config there is no difference between shells.
> Syntax highlighting is useful as well, though that requires the use of a third party plugin. You can detect quoting errors, unmatched braces, missing commands, incorrect filepaths before hitting enter. It's indispensable in an interactive shell because that's where you write convoluted one-off one-liners.
https://github.com/akinomyoga/ble.sh
> In general, zsh is extensible and offers more capabilities than bash.
Nobody ever could show me even one feature that isn't available in almost all popular shells!
> But to feel the difference, you need to configure it and enable the nice features.
Yeah sure. When you tune your ̵c̵a̵r̵ shell it has nice features afterwards…
That's true for any shell as I see it.
---
I for my part don't like Unix shell. Even after 20 years of usage (as since then Linux is my only OS).
Also I've never understood what's the case about zsh. Nobody could ever answer the question why it's anyhow "better" or even show features not available elsewhere.
I came to the conclusion that zsh is just a stupid hype of "cool kids". It's the same as with the car tuning crowd.
A truly better shell would be much different than a Unix shell. There are some experiments out there but nothing really convincing.
So I continue to stay with the not so cool default. As it's most compatible and available everywhere.
But please wake me up when there is some real innovation regarding shells!
> With those scripts / config there is no difference between shells.
As I wrote in my original comment, bash only does filepath completion most of the time even with third party completion scripts. And I have never seen bash
> https://github.com/akinomyoga/ble.sh
ble.sh is impressive work, but it's a hack that won't be as reliable or compatible without built-in support for programmatic manipulation of the command line buffer in bash. ble.sh diverts key input from readline and reimplements its features. It contains workarounds for specific terminals, and scripts have to be modified to accommodate ble.sh. IIRC FZF's shell integration required modifications to work with ble.sh.
> Nobody ever could show me even one feature that isn't available in almost all popular shells!
Read the parts of my original comment which you haven't quoted.
> When you tune your ̵c̵a̵r̵ shell it has nice features afterwards…
Only to the extent that the shell lets you.
> I came to the conclusion that zsh is just a stupid hype of "cool kids". It's the same as with the car tuning crowd.
That was uncalled for.
- Does Bash have something like Powershell's MenuComplete?
-
Fuzzy file completion in bash
You might try blesh. It has a nice completion for files and variables in bash
-
Bash 5.2
Nice, there's also ble.sh -- a bash replacement of readline that has zsh/fish-like syntax colors and completion. It is actively developed and the maintainer has implemented 2 features I've requested in a matter of hours.
If you want to check it out: https://github.com/akinomyoga/ble.sh
(Still, I personally believe these features are overrated and don't actually bring in more usability or comfort to the command line experience)
-
Is there a way to make Konsole act like it does in Manjaro?
Yea, there is also ble.sh. I haven't used them myself because I wrote a simple one of my own to scratch my itch. What do you like the most about oh-my-bash? They don't have the same capabilities as other shells, though.
-
How to get terminal autocomplete like this?
Sadly, no. But if you want to try one of zsh feature is menu complete, you can install ble.sh
bash-it
-
Recommend A Theme
bash-it for Linux or WSL/MSYS2 on Windows
- Bashkit V1
-
bashrc inspiration - your favorit trick
Might find a goody or two in https://github.com/Bash-it/bash-it/tree/master/plugins/available.
-
Switching to Zsh
There's also Bash-it which has improved my bash experience. Lol
- BashLib a helpful source file for any script
-
How do I change the highlighted part to green colour like in ubuntu?
You need a theme for your bash shell eg bash-it.
- Does Bash have something like Powershell's MenuComplete?
- What's your preferred shell & why?
-
Best CLI apps and programs when SSH just works?
I prefer bash_it https://github.com/Bash-it/bash-it
-
How to get posh-git like look in bash?
I know another comment recommended oh-my-bash, but I'm partial to bash-it (https://github.com/Bash-it/bash-it)
What are some alternatives?
oh-my-bash - A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
fzf-tab-completion - Tab completion using fzf
kitty - Cross-platform, fast, feature-rich, GPU based terminal
synth-shell - Boost your terminal, script by script
tmux - tmux source code
nushell - A new type of shell
ohmyzsh - 🙃 A delightful community-driven (with 2,200+ 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.
prezto - The configuration framework for Zsh