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/zpm | |
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/zpm')
-rw-r--r-- | docker/zpm/Dockerfile | 7 | ||||
-rw-r--r-- | docker/zpm/install.zsh | 6 | ||||
-rw-r--r-- | docker/zpm/zshrc | 3 |
3 files changed, 16 insertions, 0 deletions
diff --git a/docker/zpm/Dockerfile b/docker/zpm/Dockerfile new file mode 100644 index 00000000..d99edb37 --- /dev/null +++ b/docker/zpm/Dockerfile @@ -0,0 +1,7 @@ +FROM p9k:base + +COPY docker/zpm/install.zsh /tmp/ +RUN zsh /tmp/install.zsh + +COPY ./ p9k/ +COPY docker/zpm/zshrc .zshrc diff --git a/docker/zpm/install.zsh b/docker/zpm/install.zsh new file mode 100644 index 00000000..6f74e8e0 --- /dev/null +++ b/docker/zpm/install.zsh @@ -0,0 +1,6 @@ +# install zpm +git clone --recursive https://github.com/zpm-zsh/zpm.git ~/.zpm + +# Install powerlevel9k +mkdir ~/.zpm/plugins/powerlevel9k +ln -s ~/p9k/powerlevel9k.zsh-theme ~/.zpm/plugins/powerlevel9k/powerlevel9k.plugin.zsh diff --git a/docker/zpm/zshrc b/docker/zpm/zshrc new file mode 100644 index 00000000..b107976e --- /dev/null +++ b/docker/zpm/zshrc @@ -0,0 +1,3 @@ +source ~/.zpm/zpm.zsh + +zpm load powerlevel9k |