Warp Terminal (macOS)
PS1 Setting
- install homebrew (if not ready)
~ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- set shell environment to use home brew
~ (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Volumes/Data/alex/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
- install oh my zsh
~ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- install powelevel10k font
~ brew install powerlevel10k
- set theme to use powerlevel10k
~ echo "source $(brew --prefix)/share/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc ~ source ~/.zshrc
- apply font
- config p10k
~ p10k configure
~ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
~ (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Volumes/Data/alex/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
~ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
~ brew install powerlevel10k
~ echo "source $(brew --prefix)/share/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc
~ source ~/.zshrc
~ p10k configure