aboutsummaryrefslogtreecommitdiff
path: root/docker/zplug
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2017-07-11 01:39:55 +0300
committerChristian Höltje <docwhat@gerf.org>2017-07-12 03:41:46 +0300
commitdf318488c9bad0fae2e38c8fd57afaade295f135 (patch)
tree1580a46f9edfe65e33e4757be77ceb34acbf83fd /docker/zplug
parent3c3a86a42f6299f8ccc9af27b4cb03467cb28927 (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/zplug')
-rw-r--r--docker/zplug/Dockerfile7
-rw-r--r--docker/zplug/install.zsh5
-rw-r--r--docker/zplug/zshrc5
3 files changed, 17 insertions, 0 deletions
diff --git a/docker/zplug/Dockerfile b/docker/zplug/Dockerfile
new file mode 100644
index 00000000..a87480be
--- /dev/null
+++ b/docker/zplug/Dockerfile
@@ -0,0 +1,7 @@
+FROM p9k:base
+
+COPY docker/zplug/install.zsh /tmp/
+RUN zsh /tmp/install.zsh
+
+COPY ./ p9k/
+COPY docker/zplug/zshrc .zshrc
diff --git a/docker/zplug/install.zsh b/docker/zplug/install.zsh
new file mode 100644
index 00000000..b01ff6ee
--- /dev/null
+++ b/docker/zplug/install.zsh
@@ -0,0 +1,5 @@
+#!zsh
+
+curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh| zsh
+
+# git clone https://github.com/zplug/zplug "${HOME}/.zplug"
diff --git a/docker/zplug/zshrc b/docker/zplug/zshrc
new file mode 100644
index 00000000..0a4ceb83
--- /dev/null
+++ b/docker/zplug/zshrc
@@ -0,0 +1,5 @@
+#!zsh
+
+source ~/.zplug/init.zsh
+zplug "${HOME}/p9k", use:"powerlevel9k.zsh-theme", from:local, as:theme
+zplug load --verbose