mirror of
https://github.com/BigfootACA/arch-image-builder.git
synced 2024-09-21 15:20:53 +08:00
Compare commits
2 Commits
1f70734fd4
...
91a590ee52
Author | SHA1 | Date | |
---|---|---|---|
91a590ee52 | |||
ec92762418 |
24
configs/shell/zsh.yaml
Normal file
24
configs/shell/zsh.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user