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.
This commit is contained in:
parent
3c3a86a42f
commit
df318488c9
33 changed files with 336 additions and 3 deletions
7
docker/zplugin/Dockerfile
Normal file
7
docker/zplugin/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM p9k:base
|
||||
|
||||
COPY docker/zplugin/install.zsh /tmp/
|
||||
RUN zsh /tmp/install.zsh
|
||||
|
||||
COPY ./ p9k/
|
||||
COPY docker/zplugin/zshrc.plugins .zshrc.plugins
|
12
docker/zplugin/install.zsh
Normal file
12
docker/zplugin/install.zsh
Normal file
|
@ -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
|
5
docker/zplugin/zshrc.plugins
Normal file
5
docker/zplugin/zshrc.plugins
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!zsh
|
||||
|
||||
zplugin load psprint zsh-navigation-tools
|
||||
zplugin load psprint---zprompts
|
||||
zplugin snippet ~/p9k/powerlevel9k.zsh-theme
|
Loading…
Add table
Add a link
Reference in a new issue