LoginSignup
6
6

More than 5 years have passed since last update.

default-command に reattach-to-user-namespace -l zsh を指定すると zshenv が2回読まれる

Posted at
  • ログインシェルに zsh を指定している
  • .tmux.conf で default-commandreattach-to-user-namespace -l zsh を設定している
  1. tmux がログインシェルを起動する
  2. $ZDOTDIR/.zshenv が読まれる
  3. default-command が実行される
  4. zsh が起動する
  5. $ZDOTDIR/.zshenv が読まれる
  6. インタラクティブシェル開始
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6