Each of these plugins offer one of the following features: add to the prompt, add common aliases to shorten commands, add auto completion capabilities, add tool integrations. It’s a collection of curated plugins for a wide variety of tools (git, maven, kubernetes etc). I am not personally making use of it as I delegate that task to Starship. It’s a theme provider in particular to the prompt, and let people customize the prompt ad nauseam. bashrc) with custom code, you simply import plugins. This is quite handy as instead of customizing one’s own. It’s a plugin system to integrate multiple Zsh scripts. Zsh is often combined with Oh My Zsh a plugin system and collection of plugins that enhance the shell. Zsh is for people wanting an interesting mix of a good compatibility with Bash and an ecosystem of plugins with a reasonable installation process. Once such example is the inability for JBang to let Java files be executable.Īnother is that setting of environment variable does not follow the classical export KEY=VALUE model.įor these reasons, I left this choice out as I did not want a radical rewriting of my. No additional install, it just works with great auto suggestions.īe aware of one key aspect though, Fish is the furthest away from other shell syntaxes (especially bash), so you might encounter some incompatibilities. I have not tested it thoroughly myself but I have heard of quite a few people really happy with it, in particular the proposed line completion from history. Fishįor people that wants something that is entirely integrated, just works and has some nice UI niceties, fish shell is the way to go. To my point, I can now start in bash or zsh and have a similar prompt experience.Īnd finally, it focuses on the prompt and nothing else. It is shell agnostic, so any investment you make on it will work equally for bash zsh or fish. It’s fast, well I guess you can +1 Rust for that one.Įverything is already integrated into one simple executable, so no need to maintain plugins, figure out why the interpreter no longer works etc. I really love it for a few very simple things. Starship is a cross-shell prompt written in Rust (from the “everything is better in Rust” movement). The first good surprise I’ve found is Starship. If you want minimal changes and a zero fiddling prompt solution, bash + Starship is for you.Ĭonsidering bash remains the most deployed, you can’t go wrong compatibility wise. Read more to know which one is right for you. I got seduced by Zsh + oh-my-zsh for its plugin ecosystem and attachable auto suggestion features and am using Starship to customize the prompt. One big caveat before that, I am perfectly happy writing my scripts in bash and won’t change my programming language, so this post is focused on the shell and prompt aspect of the problem. I had to fix it every new minor version of Python coming due to path changes.Īnd I was in dread of making it fall into working condition every time I wanted to change something. My prompt uses Powerline, a Python based prompt that I found a bit brittle. It was not a blocker for me as Homebrew lets you install an up to date bash version anyways but I’ve been increasingly dissatisfied. It has something to do with licensing and being fed up with maintaining a decade old bash version themselves. MacOS has decided to deprecate bash in favor of zsh. I felt the urge to revisit this and asked around what the favorite shell was and I investigated a bit. I have been using bash as a shell for as long as I remember and added prompt customization for almost as long as I remember. Which shell to use? bash, zsh, fish, something else?
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |