summaryrefslogtreecommitdiff
path: root/docker/antigen
diff options
context:
space:
mode:
authorDan <2481552+opes@users.noreply.github.com>2018-04-30 21:07:55 +0300
committerGitHub <noreply@github.com>2018-04-30 21:07:55 +0300
commitfbb85e77e3dc307c21b79c655302158077fad916 (patch)
treef31b99e9fa274d247551537a694f615167895379 /docker/antigen
parent75c6838a0dbb2fc84f2cf7d71cae9b147b04a379 (diff)
parent13b0e383a066c9c37d5cf71d4af521f9b73a173e (diff)
Merge branch 'master' into chruby_options
Diffstat (limited to 'docker/antigen')
-rw-r--r--docker/antigen/Dockerfile8
-rw-r--r--docker/antigen/install.zsh12
-rw-r--r--docker/antigen/zshrc4
3 files changed, 24 insertions, 0 deletions
diff --git a/docker/antigen/Dockerfile b/docker/antigen/Dockerfile
new file mode 100644
index 00000000..d8d0a4bc
--- /dev/null
+++ b/docker/antigen/Dockerfile
@@ -0,0 +1,8 @@
+ARG base
+FROM p9k:${base}
+
+COPY docker/antigen/install.zsh /tmp/
+RUN zsh /tmp/install.zsh
+
+COPY ./ p9k/
+COPY docker/antigen/zshrc .zshrc
diff --git a/docker/antigen/install.zsh b/docker/antigen/install.zsh
new file mode 100644
index 00000000..6bab8ab3
--- /dev/null
+++ b/docker/antigen/install.zsh
@@ -0,0 +1,12 @@
+#!/bin/zsh
+
+mkdir ~/antigen
+
+curl \
+ -qLsSf \
+ -o ~/antigen/antigen.zsh \
+ https://git.io/antigen
+
+source ~/antigen/antigen.zsh
+
+# EOF
diff --git a/docker/antigen/zshrc b/docker/antigen/zshrc
new file mode 100644
index 00000000..0f8d4da4
--- /dev/null
+++ b/docker/antigen/zshrc
@@ -0,0 +1,4 @@
+source ~/antigen/antigen.zsh
+
+antigen theme "${HOME}/p9k" powerlevel9k --no-local-clone
+antigen apply