LoginSignup
7

More than 3 years have passed since last update.

zsh(prezto)のプロンプト設定

Last updated at Posted at 2020-04-29

前提

シェルをbashからzshに変更する

zshプロンプト設定

.zpreztorcのPromptを変更する

#
#  Prompt(プロンプト)
#

# プロンプトのテーマを設定します。
# 'random'に設定するとランダムなテーマが読み込まれます。
# 昔の端末では自動的に'off'に設定されます。
zstyle ':prezto:module:prompt' theme 'walters'

# 作業ディレクトリのプロンプト表示の長さを設定します。
# デフォルトでは'short'に設定されています。'long'に設定してください。 (拡張子 '~' を付けないでください)
# さらに長いプロンプト表示のためには、より長く、あるいは 'full' (拡張子 '~' を付けて) を指定します。
# zstyle ':prezto:module:prompt' pwd-length 'short'

# プロンプトにリターンコードを表示するように設定します。
# 戻り値のコードです。 これはすべてのプロンプトでサポートされているわけではありません。
# zstyle ':prezto:module: prompt' show-return-val 'yes'

promptのテーマ一覧

prompt -l

promptのテーマをプレビュー
(一括で見れる。。。)

prompt -p

agnoster

zstyle ':prezto:module:prompt' theme 'agnoster'

スクリーンショット 2020-04-29 14.19.20.png

cloud

zstyle ':prezto:module:prompt' theme 'cloud'

スクリーンショット 2020-04-29 14.22.39.png

damoekri

zstyle ':prezto:module:prompt' theme 'damoekri'

スクリーンショット 2020-04-29 14.23.55.png

giddie

zstyle ':prezto:module:prompt' theme 'giddie'

スクリーンショット 2020-04-29 14.24.44.png

kylewest

zstyle ':prezto:module:prompt' theme 'kylewest'

スクリーンショット 2020-04-29 14.27.35.png

minimal

zstyle ':prezto:module:prompt' theme 'minimal'

スクリーンショット 2020-04-29 14.28.40.png

nicoulaj

zstyle ':prezto:module:prompt' theme 'nicoulaj'

スクリーンショット 2020-04-29 14.30.01.png

paradox

zstyle ':prezto:module:prompt' theme 'paradox'

スクリーンショット 2020-04-29 14.30.58.png

peepcode

zstyle ':prezto:module:prompt' theme 'peepcode'

スクリーンショット 2020-04-29 14.32.07.png

powerlevel10k

zstyle ':prezto:module:prompt' theme 'powerlevel10k'

スクリーンショット 2020-04-29 14.34.42.png

powerlevel9k

zstyle ':prezto:module:prompt' theme 'powerlevel9k'

スクリーンショット 2020-04-29 14.35.47.png

powerline

zstyle ':prezto:module:prompt' theme 'powerline'

スクリーンショット 2020-04-29 14.37.15.png

pure

zstyle ':prezto:module:prompt' theme 'pure'

スクリーンショット 2020-04-29 15.59.02.png

skwp

zstyle ':prezto:module:prompt' theme 'skwp'

スクリーンショット 2020-04-29 14.38.22.png

smiley

zstyle ':prezto:module:prompt' theme 'smiley'

スクリーンショット 2020-04-29 14.40.02.png

sorin

zstyle ':prezto:module:prompt' theme 'sorin'

スクリーンショット 2020-04-29 14.41.27.png

steeef

zstyle ':prezto:module:prompt' theme 'steeef'

スクリーンショット 2020-04-29 14.42.09.png

adam1

zstyle ':prezto:module:prompt' theme 'adam1'

スクリーンショット 2020-04-29 14.43.19.png

adam2

zstyle ':prezto:module:prompt' theme 'adam2'

スクリーンショット 2020-04-29 14.46.07.png

bart

zstyle ':prezto:module:prompt' theme 'bart'

スクリーンショット 2020-04-29 14.47.05.png

bigfade

zstyle ':prezto:module:prompt' theme 'bigfade'

スクリーンショット 2020-04-29 14.48.33.png

clint

zstyle ':prezto:module:prompt' theme 'clint'

スクリーンショット 2020-04-29 14.49.42.png

default

zstyle ':prezto:module:prompt' theme 'default'

スクリーンショット 2020-04-29 14.50.43.png

elite2

zstyle ':prezto:module:prompt' theme 'elite2'

スクリーンショット 2020-04-29 14.53.08.png

elite

zstyle ':prezto:module:prompt' theme 'elite'

スクリーンショット 2020-04-29 14.55.24.png

fade

zstyle ':prezto:module:prompt' theme 'fade'

スクリーンショット 2020-04-29 14.58.06.png

fire

zstyle ':prezto:module:prompt' theme 'fire'

スクリーンショット 2020-04-29 14.58.59.png

off

zstyle ':prezto:module:prompt' theme 'off'

スクリーンショット 2020-04-29 15.00.04.png

oliver

zstyle ':prezto:module:prompt' theme 'oliver'

スクリーンショット 2020-04-29 15.02.12.png

pws

zstyle ':prezto:module:prompt' theme 'pws'

スクリーンショット 2020-04-29 15.02.55.png

redhat

zstyle ':prezto:module:prompt' theme 'redhat'

スクリーンショット 2020-04-29 15.03.41.png

restore

zstyle ':prezto:module:prompt' theme 'restore'

スクリーンショット 2020-04-29 15.04.50.png

suse

zstyle ':prezto:module:prompt' theme 'suse'

スクリーンショット 2020-04-29 15.05.31.png

walters

zstyle ':prezto:module:prompt' theme 'walters'

スクリーンショット 2020-04-29 15.07.07.png

zefram

zstyle ':prezto:module:prompt' theme 'zefram'

スクリーンショット 2020-04-29 15.08.01.png

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
7