Skip to content

Commit d813b19

Browse files
author
Kazuaki NAKAMURA
committed
Modified files
1 parent 71dfa0d commit d813b19

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.zshrc

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# https://qiita.com/yasunori-kirin0418/items/3557150582a1f7e08ecb
33
# https://qiita.com/shun198/items/c60ec1cce9c9bf1e8c26#oh-my-zsh
44

5-
###### homebrew
6-
export PATH=/opt/homebrew/bin:$PATH
5+
##### exports
6+
source ~/.exports
77

8-
##### powelevel10k
8+
##### Powelevel10k
99
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
1010
# Initialization code that may require console input (password prompts, [y/n]
1111
# confirmations, etc.) must go above this block; everything else may go below.
@@ -14,8 +14,6 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
1414
fi
1515

1616
# Oh My Zsh
17-
# Path to your Oh My Zsh installation.
18-
export ZSH="$HOME/.oh-my-zsh"
1917
# Set name of the theme to load --- if set to "random", it will
2018
# load a random theme each time Oh My Zsh is loaded, in which case,
2119
# to know which specific one was loaded, run: echo $RANDOM_THEME
@@ -49,6 +47,9 @@ source ~/.zshrc.zinit
4947
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
5048
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
5149

50+
##### Oh-My-Zsh
51+
source ~/.zshrc.oh-my-zsh
52+
5253
##### History
5354
# history
5455
HISTFILE=$HOME/.zsh_history # 履歴を保存するファイル

.zshrc.zinit

-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
# references
2-
# https://qiita.com/shun198/items/c60ec1cce9c9bf1e8c26#oh-my-zsh
3-
# https://qiita.com/obake_fe/items/c2edf65de684f026c59c#2-zsh-completions
42
# https://qiita.com/yasunori-kirin0418/items/3557150582a1f7e08ecb
53

6-
# install oh-my-zsh's plugins
7-
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/asdf
8-
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/command-not-found
9-
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git
10-
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/ssh-agent
11-
plugins=(asdf command-not-found git iterm2 ssh-agent)
12-
134
# install zsh's plugins
145

156
# so-fancy/diff-so-fancy

setup.sh

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
3535
ln -sf ~/Workspaces/dotfiles/.zshrc ~/.zshrc
3636
# ln -sf ~/Workspaces/dotfiles/.zshrc.antigen ~/.zshrc.antigen
3737
ln -sf ~/Workspaces/dotfiles/.zshrc.zinit ~/.zshrc.zinit
38+
ln -sf ~/Workspaces/dotfiles/.zshrc.oh-my-zsh ~/.zshrc.oh-my-zsh
3839
ln -sf ~/Workspaces/dotfiles/.zprofile ~/.zprofile
3940
ln -sf ~/Workspaces/dotfiles/.exports ~/.exports
4041
ln -sf ~/Workspaces/dotfiles/.aliases ~/.aliases

0 commit comments

Comments
 (0)