Created
December 18, 2019 03:41
-
-
Save andersonpem/feedf91a49e08c79bf1f97bf4da93e4e to your computer and use it in GitHub Desktop.
Installing ZSH and oh-my-zsh on Laradock's workspace.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add zsh to the applications being installed | |
##... | |
libzip-dev zip unzip zsh \ | |
# Change the shell of both users | |
USER root | |
RUN usermod --shell $(which zsh) laradock | |
RUN usermod --shell $(which zsh) root | |
#Install oh-my-zsh for both users | |
USER laradock | |
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended | |
USER root | |
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment