Using a custom shell with Rider’s built-in terminal
In a previous post, we’ve seen that Rider comes with a built-in terminal. It lets us do things like running .NET Core commands (for example with Entity Framework core), running Git commands, etc. There’s one thing we did not cover yet: customizing the shell that is used by Rider!
While the default shell in Rider works nice, many developers prefer to use their favorite shell. For example Windows users may want to use PowerShell or Cmder instead of the default, macOS and Linux users may want to use
zsh. Good news: from the settings under Tools | Terminal, we can customize which shell is used by Rider (along with some other options).
In case you want to use an alternative shell, here are some example paths you can configure:
"cmd" /k ""%CMDER_ROOT%\vendor\init.bat""(note the
CMDER_ROOTenvironment variable has to be set)
"C:\cygwin\bin\bash.exe" --login -i
/bin/bash(or bash for Windows:
Have another shell configured? Let us know through the comments!
Here’s Cmder in action:
zsh? No problem:
Rider’s built-in terminal provides full access to the underlying shell. This means we can run lots of tools, like Far Manager (for managing files and archives):
Oh and always remember this productivity tip (check here if you need the executable):
— Vadim Lomshakov (@vadim_cs) June 16, 2017
Download Rider now and give it a try! We’d love to hear your feedback.
Subscribe to Blog updates
Thanks, we've got you!
Visualize Entity Framework Relationships and Additional Query Analysis in ReSharper 2023.3
A lot of teams are using Entity Framework or EF Core to work with their database. As an Object-Relational Mapper (ORM), it bridges objects in code to a relational database model, so that as a developer you don’t have to worry too much about the actual database. We all know: that’s not entirely tr…
Automatically Analyze ASP.NET Core Performance With Dynamic Program Analysis
Slow web pages may make your users or customers abandon your web application, even before they’ve had a proper look at it. You’ve likely also been frustrated working with a web application that is slow to load. The good news is that the latest versions of ReSharper and JetBrains Rider’s Dynamic P…
OSS Power-Ups: MassTransit – Webinar Recording
The recording of our webinar, OSS Power-Ups: MassTransit, with Chris Patterson, is available. This was the thirteenth episode of our OSS Power-Ups series, where we put a spotlight on open-source .NET projects. Subscribe to our community newsletter to receive notifications about future webinars.…
Eager, Lazy and Explicit Loading with Entity Framework Core
Entity Framework Core (EF Core) supports a number of ways to load related data. There’s eager loading, lazy loading, and explicit loading. Each of these approaches have their own advantages and drawbacks. In this post, let’s have a quick look at each of these ways to load data for navigational prope…