mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Add Dockerfile for zshing framework
This commit is contained in:
parent
0b92e915c4
commit
4178240b24
2 changed files with 23 additions and 0 deletions
7
docker/zshing/Dockerfile
Normal file
7
docker/zshing/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
ARG base
|
||||||
|
FROM p9k:${base}
|
||||||
|
|
||||||
|
COPY docker/zshing/install.zsh /tmp/
|
||||||
|
RUN zsh /tmp/install.zsh
|
||||||
|
|
||||||
|
COPY ./ p9k/
|
16
docker/zshing/install.zsh
Normal file
16
docker/zshing/install.zsh
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!zsh
|
||||||
|
|
||||||
|
# install zshing https://github.com/zakariaGatter/zshing
|
||||||
|
git clone https://github.com/zakariaGatter/zshing.git ~/.zshing/zshing
|
||||||
|
|
||||||
|
# Link P9K in zshing directory
|
||||||
|
ln -nsf ~/p9k ~/.zshing/powerlevel9k
|
||||||
|
|
||||||
|
{
|
||||||
|
echo
|
||||||
|
echo 'ZSHING_PLUGINS=(
|
||||||
|
"bhilburn/powerlevel9k"
|
||||||
|
)'
|
||||||
|
echo
|
||||||
|
echo "source ~/.zshing/zshing/zshing.zsh"
|
||||||
|
} >> ~/.zshrc
|
Loading…
Reference in a new issue