Default Shell

Set your default shell

This page describes how to change the default shell in several applications that are typically used in development.

Visual Studio Code

To set zsh as the default terminal profile in VS Code, define the shell paths and update the default profile in your settings.json:

{
  "terminal.integrated.profiles.linux": {
    "bash": {
      "path": "/bin/bash"
    },
    "zsh": {
      "path": "/usr/bin/zsh"
    }
  },
  "terminal.integrated.defaultProfile.linux": "zsh"
}

See this page for more information about VS Code settings.

tmux

To set zsh as your default shell within tmux, add the following to your ~/.tmux.conf:

set-option -g default-shell /usr/bin/zsh