summaryrefslogtreecommitdiff
path: root/docker/zplugin/install.zsh
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2017-07-12 17:27:45 +0300
committerGitHub <noreply@github.com>2017-07-12 17:27:45 +0300
commit40a12d388fa7fbb73e912cedc0a6c272ede64860 (patch)
tree26c80d671d557ec7c19fb61eeea44c98d5cc1d7d /docker/zplugin/install.zsh
parentc88cea7f3f9983a25616317ad475759fa99ee8a1 (diff)
parent2f808f8a4e6224478e1c9efb85c1a4b3f24df087 (diff)
Merge pull request #567 from docwhat/pr/docker
test-in-docker: quickly test frameworks in docker
Diffstat (limited to 'docker/zplugin/install.zsh')
-rw-r--r--docker/zplugin/install.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/zplugin/install.zsh b/docker/zplugin/install.zsh
new file mode 100644
index 00000000..fec4249d
--- /dev/null
+++ b/docker/zplugin/install.zsh
@@ -0,0 +1,12 @@
+sh -c "$(curl -fsSL https://raw.githubusercontent.com/psprint/zplugin/master/doc/install.sh)"
+
+# The 'zplugin snippet' only copies the .zsh-theme file, not everything else.
+mkdir -p ~/.zplugin/snippets
+ln -nsf \
+ ~/p9k/ \
+~/.zplugin/snippets/--SLASH--home--SLASH--fred--SLASH--p9k--SLASH--powerlevel9k--DOT--zsh-theme
+
+{
+ echo
+ echo "source ~/.zshrc.plugins"
+} >> ~/.zshrc