File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #!/usr/bin/with-contenv bash
2+
3+ apt-get update
Original file line number Diff line number Diff line change 22
33# Install ZSH
44echo "**** Installing zsh ****"
5- apt-get update && apt-get install -y \
6- zsh
5+ apt-get install -y \
6+ zsh
77
88# Install oh-my-zsh if not installed already
99if [ -d /config/.oh-my-zsh ]; then
10- echo "**** Oh My Zsh is already installed. You can update it via \"omz update\" in terminal. ****"
10+ echo "**** Oh My Zsh is already installed. You can update it via \"omz update\" in terminal. ****"
1111elif [ -d /.oh-my-zsh ]; then
12- echo "**** Installing Oh My Zsh. You can update it via \"omz update\" in terminal. ****"
13- mv /.oh-my-zsh /config/.oh-my-zsh
14- cp /config/.oh-my-zsh/templates/zshrc.zsh-template /config/.zshrc
12+ echo "**** Installing Oh My Zsh. You can update it via \"omz update\" in terminal. ****"
13+ mv /.oh-my-zsh /config/.oh-my-zsh
14+ cp /config/.oh-my-zsh/templates/zshrc.zsh-template /config/.zshrc
1515else
16- echo "**** It looks like Oh My Zsh was manually deleted after install. Please recreate the code-server container to reinstall Oh My Zsh. ****"
16+ echo "**** It looks like Oh My Zsh was manually deleted after install. Please recreate the code-server container to reinstall Oh My Zsh. ****"
1717fi
1818
1919chown -R abc:abc \
20- /config/.oh-my-zsh \
21- /config/.zshrc
20+ /config/.oh-my-zsh \
21+ /config/.zshrc
You can’t perform that action at this time.
0 commit comments