![]() ![]() The only thing that comes to mind is the lack of job control, which means you need to remap ctrl-z to stop vim from getting into a weird state where it can't actually background itself.Īnother thing (which isn't nushell's fault at all) is if you change your default shell, many programs will expect that to correspond to a posix shell. I use tmux and vim, and I've had almost no issues. > Also, how stable is it? Especially when interacting with weirder stuff like tmux, vim, ncurses apps? I'd encourage anyone to look up the docs for custom commands. I've noticed that completions for aliases are a bit unpredictable, but I haven't looked into it enough to know whether this is nushell or carapace.įinally, the automatic generation of help and completions for nushell commands (including your own custom commands) is excellent and one of my favourite features. If you set up carapace as a completion provider, then most things on the happy path work well (based on bash completions). I do miss some of the history search magic that's possible with zsh plugins - specifically using vi movements to incrementally match more of those visual completions from history.Ĭompletions for external programs have gotten good. There's a built in fuzzy finder for commands, completions and history, as well as the line editor visually showing matches against partial commands (a trend which I think started with fish). This is fundamentally different to how you might expect pipelines to work, so its difficult to compare like for like (. Nushell parses pipelines upfront, so the error messages are often very precise and useful, and arrive before any damage has been done. There are hooks for running commands on events like changes to environment variables, which is how you implement support for things like version managers (i.e. You can also set the cursor shape based on vi mode. you define commands for the left and right prompt, as well as variables for vi mode indicators (the line editor's vi mode is mostly complete, I'm happy with it). > How is nushell for interactive use? Prompt configuration, stuff like that? I'll just add that nushell in particular rewards daily use, because as a language for writing your own custom commands, it has a way of quickly building momentum once you get going. I won't try to convince anyone of this, since the question was about suitability for daily use. ![]() ![]() I don't resent any of that work, because I'm in my shell all day, and the expressive power of nushell is so far ahead of other shells for the kinds of tasks that I'm doing in that environment. I've had to reverse engineer a bunch of shell integrations for things like package and version managers, most of which assume bash/zsh/fish. I wouldn't recommend nushell to anyone without a decent background wrangling posix shells, because that's not going anywhere. That doesn't happen very often, though - a quick look at my bash history shows that I'm mostly either running stuff interactively which assumes bash, or using it as a repl while working on scripts. I now keep a very minimal bash config (~10 lines total) for when I inevitably need to shell into it for some reason. In hindsight that was probably more trouble than it's worth, but I have no intention of changing back. This had the advantage of allowing a bunch of environment setup to run in bash and get inherited, which allowed my overall setup to be more vanilla (and also nushell doesn't have any kind of job control, so something like tmux is probably a must).Ībout two months ago I promoted nushell to my login shell. Bash Line Editor―a full-featured line editor written in pure Bash! Syntax highlighting, auto suggestions, vim modes, etc.I've been using nushell for the past year, and I love it.įor a while I kept bash as my login shell and had nu as my default command in tmux. Other repos in the IPython organization contain things like the website, documentation builds, etc. Official repository for IPython itself. ![]() □ A better and friendly vi(vim) mode plugin for ZSH. ☄□️ The minimal, blazing-fast, and infinitely customizable prompt for any shell! 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. □ A delightful community-driven (with 2,100+ contributors) framework for managing your zsh configuration. When comparing oh-my-bash and xonsh you can also consider the following projects: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |