diff options
author | Christian Höltje <docwhat@gerf.org> | 2017-07-11 01:39:55 +0300 |
---|---|---|
committer | Christian Höltje <docwhat@gerf.org> | 2017-07-12 03:41:46 +0300 |
commit | df318488c9bad0fae2e38c8fd57afaade295f135 (patch) | |
tree | 1580a46f9edfe65e33e4757be77ceb34acbf83fd /docker/zgen | |
parent | 3c3a86a42f6299f8ccc9af27b4cb03467cb28927 (diff) |
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.
Diffstat (limited to 'docker/zgen')
-rw-r--r-- | docker/zgen/Dockerfile | 7 | ||||
-rw-r--r-- | docker/zgen/install.zsh | 5 | ||||
-rw-r--r-- | docker/zgen/zshrc | 10 |
3 files changed, 22 insertions, 0 deletions
diff --git a/docker/zgen/Dockerfile b/docker/zgen/Dockerfile new file mode 100644 index 00000000..9a0c13c7 --- /dev/null +++ b/docker/zgen/Dockerfile @@ -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 diff --git a/docker/zgen/install.zsh b/docker/zgen/install.zsh new file mode 100644 index 00000000..5cdc6181 --- /dev/null +++ b/docker/zgen/install.zsh @@ -0,0 +1,5 @@ +#!/bin/zsh + +git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen" + +# EOF diff --git a/docker/zgen/zshrc b/docker/zgen/zshrc new file mode 100644 index 00000000..1fcb75b9 --- /dev/null +++ b/docker/zgen/zshrc @@ -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 |