ble.sh
starship
Our great sponsors
ble.sh | starship | |
---|---|---|
50 | 298 | |
1,980 | 39,957 | |
- | 2.8% | |
9.1 | 9.7 | |
18 days ago | 5 days ago | |
Shell | Rust | |
BSD 3-clause "New" or "Revised" License | ISC 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
starship
-
Atuin – Magical Shell History
Agreed, I use this in conjunction with Starship [1], both initialized specifically for Fish in the config. I love this shell so much.
[1] - https://starship.rs/
- Starship.rs: minimal, fast prompt for any shell
-
Oh My Zsh
Recently, I moved off from oh-my-zsh after many users, to vanilla zsh with https://starship.rs, mainly due to the loading speed (used https://github.com/romkatv/zsh-bench to measure the speed).
Still wanting to try out fish and hopefully soon!
starship is the new spaceship, yo
-
Z – Jump Around
It seems like the Rust community is quite happy to support alternative shells. I’ve seen couple of projects, now, that support way more esoteric shells than I would expect, like ’xonsh’. Starship (https://starship.rs/) immediately comes to mind.
- MacOS tools to make your life easier
-
[MacOS] Setting up zsh in MacOS, any hints, dos/don'ts, advice, or guides?
Until now I have been using bash on Windows with Starship as the prompt. The only reason I went with Starship, is that it was easy to setup and at the time I did not have much free time to devout to the shell/prompt configuration.
-
Monaspace
I'm staying on BitstromWera Nerd Font. Works great with Starship.
-
Organizing Multiple Git Identities
I use conditional includes for this, but I also add a single letter describing which Git identity I'm currently using to my PS1 so that it appears before $ in my shell prompt. This prevents me from committing code with the wrong identity, in case I'm using a git checkout that's anywhere not covered by the conditional include rules.
I use Starship (https://starship.rs) to manage my prompt, and wrote a short script that only runs if I'm somewhere in a git repo, and if so finds my Git user's email and looks up the corresponding letter in an associative array declared in my ~/.config/starship-zsh/.zshenv:
git_email=$(git config --get user.email | perl -pe 'chomp if eof')
-
fish-shell: the user-friendly command-line shell
https://starship.rs/
A shell theme
What are some alternatives?
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
powerlevel10k - A Zsh theme
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.
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
bash-it - A community Bash framework.
alacritty - A cross-platform, OpenGL terminal emulator.
fish-shell - The user-friendly command line shell.
powerline - Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
pure - Pretty, minimal and fast ZSH prompt
tide - 🌊 The ultimate Fish prompt.
zsh-autosuggestions - Fish-like autosuggestions for zsh