LoginSignup
0
0

俺のターミナル設定

Last updated at Posted at 2024-04-12

icebergをインストール

ダウンロードし、デフォルトに設定する。

フォントサイズ:14ポイント

Git

# Git
fpath=(~/.zsh $fpath)
if [ -f ${HOME}/.zsh/git-completion.zsh ]; then
       zstyle ':completion:*:*:git:*' script ~/.zsh/git-completion.zsh
fi
if [ -f ${HOME}/.zsh/git-prompt.sh ]; then
       source ${HOME}/.zsh/git-prompt.sh
fi
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
GIT_PS1_SHOWSTASHSTATE=true
GIT_PS1_SHOWUPSTREAM=auto

setopt PROMPT_SUBST ; PS1='%F{green}%n: %F{cyan}%~%f$(__git_ps1 " [%s]")
\$ '

source ~/.git-prompt.sh
curl -o ~/.git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
source .zshrc

Homebrew

# Homebrew
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/tonoyama/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

#set linenumbersのコメントアウトを解除する

sudo nano /etc/nanorc
0
0
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
0
0