1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

202207版環境構築メモ

Last updated at Posted at 2022-07-09

Mac が壊れてしまい、新しい PC で環境を再構築した時にはまったポイントなどの自分用メモ
基本的には読ませて頂いた記事などを記載する

前提

使っている環境やソフトウェアなどを記載
なお、ソフトウェアは AppStore や homebrew を使ってインストール

  • macOS Monterey
  • Alfred
  • oh-my-zsh
  • iTerm2
  • peco

Alfred の移行

Alfredの環境設定の同期・バックアップの方法
Syncing Your Alfred Settings Between Macs

この辺りを読んでバックアップファイルを作成し、新しい PC で読み込ませることで成功

AWS CLI v2 で Pager 無効化

AWS CLI v2 でページ分割(less)を無効化できることを最近知った件

How to use the cli_pager setting

基本的に不要であるため、上記にあるように ~/.aws/config に以下を追加

[default]
cli_pager=

tmux を使っている時だけ peco が panic になる

peco on tmux が動かなくなったので、調べてみた

Installing tmux-256color for macOS

上記にあるように ~/.tmux.conf に以下を追加して解消

set-option default-terminal "screen-256color"

zshの起動と同時にtmuxも起動

zshの起動と同時にtmuxも起動してほしい

~/.zshrc に以下を追加

[[ -z "$TMUX" && ! -z "$PS1" ]] && tmux
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?