aboutsummaryrefslogtreecommitdiff
path: root/docker/zpm
diff options
context:
space:
mode:
Diffstat (limited to 'docker/zpm')
-rw-r--r--docker/zpm/Dockerfile7
-rw-r--r--docker/zpm/install.zsh6
-rw-r--r--docker/zpm/zshrc3
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