-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.recipe
44 lines (35 loc) · 1.08 KB
/
install.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apt zsh
git "Download zplug"; do
repository "https://github.com/zplug/zplug"
destination "$HOME/.zplug"
done
code "Install zplug"; do
cwd "$HOME/.zplug"
code "/usr/bin/zsh init.zsh"
done
brew python3
pip powerline-status
create-file "Create .zsh-powerline file"; do
path "$HOME/.zsh-powerline"
content "POWERLINE_PATH=/home/linuxbrew/.linuxbrew/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh"
done
code "Make powerline bindings executable"; do
code "chmod +x /home/linuxbrew/.linuxbrew/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh"
done
directory "Create a directory to hold runtime zsh configuration"; do
path "$HOME/.zsh-runtime/shef"
parents true
done
git "Download our zsh configuration"; do
repository "https://github.com/CaptainQuirk/.zsh.git"
destination "$CONFIG_SRC_DIR/.zsh"
enable-submodules true
done
link "Symlinking zshrc file"; do
target "$CONFIG_SRC_DIR/.zsh/zshrc"
to "$HOME/.zshrc"
done
code "Setting zsh to default shell"; do
code "chsh $USER -s /usr/bin/zsh"
sudo true
done