5

I don't know why there are "login" and "non-login" shells in the first place, and i'm not very eager to know.

The fact is that the RVM and NVM software that i use frequently require login shells, and Konsole starts a non-login shell.

This forces me to submit a bash -l command every time i start a Konsole.

How do i make Konsole start in login shell mode by default?

11

The Konsole Handbook:

Konsole doesn’t provide convenience for running login shell, because developers don’t like the idea of running login shell in a terminal emulator.

Of course, users still can run login shell in Konsole if they really need to. Edit the profile in use and modify its command to the form of starting a login shell explicitly, such as "bash -l" and "zsh -l".

| improve this answer | |
  • Thanks for the solution! I was surprised that my .zprofile wasn't being run in Konsole. I wonder whether it's true that "developers don't like the idea of running login shell in a terminal emulator"? – Steven Shaw May 11 '15 at 1:31
  • 1
    Probably because the login shell is supposed to be the one that is run when you login, not every time you open a new terminal. Difference between Login Shell and Non-Login Shell? – bain May 11 '15 at 15:24
  • I don't by the idea of not running the login shell in new tabs being what MOST developer don't want. I did want to add that the command option is on the General page of the settings dialog. – boatcoder Jul 30 '15 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.