diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2017-07-12 17:27:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-12 17:27:45 +0300 |
commit | 40a12d388fa7fbb73e912cedc0a6c272ede64860 (patch) | |
tree | 26c80d671d557ec7c19fb61eeea44c98d5cc1d7d /docker/zpm | |
parent | c88cea7f3f9983a25616317ad475759fa99ee8a1 (diff) | |
parent | 2f808f8a4e6224478e1c9efb85c1a4b3f24df087 (diff) |
Merge pull request #567 from docwhat/pr/docker
test-in-docker: quickly test frameworks in docker
Diffstat (limited to 'docker/zpm')
-rw-r--r-- | docker/zpm/Dockerfile | 8 | ||||
-rw-r--r-- | docker/zpm/install.zsh | 6 | ||||
-rw-r--r-- | docker/zpm/zshrc | 3 |
3 files changed, 17 insertions, 0 deletions
diff --git a/docker/zpm/Dockerfile b/docker/zpm/Dockerfile new file mode 100644 index 00000000..c1c44e38 --- /dev/null +++ b/docker/zpm/Dockerfile @@ -0,0 +1,8 @@ +ARG base +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 |