Nick Janetakis 9/2/2025

Prevent Tmux from Starting a Login Shell by Default

Read Original

This technical article explains a common Tmux behavior where it launches a login shell for each new pane/window, executing shell profile scripts. It provides a configuration fix to set the default command to the user's shell without the login flag, improving performance and preventing issues like accidentally spawning multiple window managers. The post includes a configuration snippet and a demonstration video.

Prevent Tmux from Starting a Login Shell by Default

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser