test-in-docker: quickly test frameworks in docker
This adds `./test-in-docker` for quickly playing with various frameworks. All the containers are based off Ubuntu 14.04 which has ZSH 5.0.2. Thanks to @dritter for figuring out all the framework installation methods.
This commit is contained in:
parent
3c3a86a42f
commit
df318488c9
33 changed files with 336 additions and 3 deletions
7
docker/zgen/Dockerfile
Normal file
7
docker/zgen/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM p9k:base
|
||||
|
||||
COPY docker/zgen/install.zsh /tmp/
|
||||
RUN zsh /tmp/install.zsh
|
||||
|
||||
COPY ./ p9k/
|
||||
COPY docker/zgen/zshrc .zshrc
|
5
docker/zgen/install.zsh
Normal file
5
docker/zgen/install.zsh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/zsh
|
||||
|
||||
git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
|
||||
|
||||
# EOF
|
10
docker/zgen/zshrc
Normal file
10
docker/zgen/zshrc
Normal file
|
@ -0,0 +1,10 @@
|
|||
# load zgen
|
||||
source ~/.zgen/zgen.zsh
|
||||
|
||||
# if the init scipt doesn't exist
|
||||
if ! zgen saved; then
|
||||
zgen load ~/p9k/powerlevel9k.zsh-theme
|
||||
|
||||
# generate the init script from plugins above
|
||||
zgen save
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue