Open4

2023年度版 Shell の設定

emahiroemahiro

毎回新しい PC にするときに Shell の設定を忘れてしまうので 2023年度版として残しておく。

ターミナルエミュレーター

Shell

  • zsh

zsh の管理ツール

コマンドラインツール

  • eza
  • fzf
  • ghq
  • peco
  • date (GNU date コマンド)
    • brew install coreutils で入れて alias を貼る
emahiroemahiro

zsh での alias 設定

alias zshconfig='mate ~/.zshrc'
alias ls='eza'
alias g='cd $(ghq root)/$(ghq list | peco)'

unalias history # デフォルトの history コマンドを off にする
alias history='fc -l -i 1 | peco'
alias date='/opt/homebrew/bin/gdate'
emahiroemahiro

ソフトウェア群

  • Go
  • Node
    • バージョン管理ツール -> n
  • Python
    • バージョン管理ツール -> pyenv