mirror of
https://github.com/BigfootACA/arch-image-builder.git
synced 2024-11-11 05:57:52 +08:00
25 lines
562 B
YAML
25 lines
562 B
YAML
pacman:
|
|
install:
|
|
- zsh
|
|
- oh-my-zsh-git
|
|
filesystem:
|
|
files:
|
|
- path: /etc/skel/.bashrc
|
|
stage: pre-user
|
|
content: |
|
|
if [ -n "$$BASH" ] && [[ "$$-" = *i* ]]; then
|
|
exec zsh
|
|
fi
|
|
- path: /etc/skel/.zshrc
|
|
stage: pre-user
|
|
content: |
|
|
ZSH=/usr/share/oh-my-zsh/
|
|
ZSH_THEME="ys"
|
|
plugins=(git)
|
|
ZSH_CACHE_DIR=$$HOME/.cache/oh-my-zsh
|
|
if [[ ! -d $$ZSH_CACHE_DIR ]]; then
|
|
mkdir $$ZSH_CACHE_DIR
|
|
fi
|
|
source $$ZSH/oh-my-zsh.sh
|
|
setopt nonomatch
|