update prezto
This commit is contained in:
@@ -6,7 +6,7 @@ RUN \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
zsh \
|
||||
zsh=5.0.2-3ubuntu6.2 \
|
||||
mercurial \
|
||||
subversion \
|
||||
golang \
|
||||
|
@@ -6,7 +6,7 @@ RUN \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
zsh \
|
||||
zsh=5.1.1-1ubuntu2.2 \
|
||||
mercurial \
|
||||
subversion \
|
||||
golang \
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:17.04
|
||||
FROM ubuntu:17.10
|
||||
|
||||
RUN \
|
||||
apt-get update && \
|
||||
@@ -6,7 +6,7 @@ RUN \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
zsh \
|
||||
zsh=5.2-5ubuntu1.2 \
|
||||
mercurial \
|
||||
subversion \
|
||||
golang \
|
||||
|
40
.zprezto/modules/prompt/external/powerlevel9k/docker/base-5.3.1/Dockerfile
vendored
Normal file
40
.zprezto/modules/prompt/external/powerlevel9k/docker/base-5.3.1/Dockerfile
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
FROM debian:stretch
|
||||
|
||||
# We switched here to debian, as there seems no ZSH 5.3 in ubuntu.
|
||||
|
||||
RUN \
|
||||
apt-get update && \
|
||||
echo 'golang-go golang-go/dashboard boolean false' | debconf-set-selections && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
zsh=5.3.1-4+b2 \
|
||||
mercurial \
|
||||
subversion \
|
||||
golang \
|
||||
jq \
|
||||
nodejs \
|
||||
ruby \
|
||||
python \
|
||||
python-virtualenv \
|
||||
sudo \
|
||||
locales
|
||||
|
||||
RUN adduser --shell /bin/zsh --gecos 'fred' --disabled-password fred
|
||||
# Locale generation is different in debian. We need to enable en_US
|
||||
# locale and then regenerate locales.
|
||||
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
|
||||
RUN locale-gen "en_US.UTF-8"
|
||||
|
||||
COPY docker/fred-sudoers /etc/sudoers.d/fred
|
||||
|
||||
USER fred
|
||||
WORKDIR /home/fred
|
||||
ENV LANG=en_US.UTF-8
|
||||
ENV TERM=xterm-256color
|
||||
ENV DEFAULT_USER=fred
|
||||
ENV POWERLEVEL9K_ALWAYS_SHOW_CONTEXT=true
|
||||
|
||||
RUN touch .zshrc
|
||||
|
||||
CMD ["/bin/zsh", "-l"]
|
35
.zprezto/modules/prompt/external/powerlevel9k/docker/base-5.4.2/Dockerfile
vendored
Normal file
35
.zprezto/modules/prompt/external/powerlevel9k/docker/base-5.4.2/Dockerfile
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
FROM ubuntu:18.04
|
||||
|
||||
RUN \
|
||||
apt-get update && \
|
||||
echo 'golang-go golang-go/dashboard boolean false' | debconf-set-selections && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
zsh=5.4.2-3ubuntu3 \
|
||||
mercurial \
|
||||
subversion \
|
||||
golang \
|
||||
jq \
|
||||
nodejs \
|
||||
ruby \
|
||||
python \
|
||||
python-virtualenv \
|
||||
sudo \
|
||||
locales
|
||||
|
||||
RUN adduser --shell /bin/zsh --gecos 'fred' --disabled-password fred
|
||||
RUN locale-gen "en_US.UTF-8"
|
||||
|
||||
COPY docker/fred-sudoers /etc/sudoers.d/fred
|
||||
|
||||
USER fred
|
||||
WORKDIR /home/fred
|
||||
ENV LANG=en_US.UTF-8
|
||||
ENV TERM=xterm-256color
|
||||
ENV DEFAULT_USER=fred
|
||||
ENV POWERLEVEL9K_ALWAYS_SHOW_CONTEXT=true
|
||||
|
||||
RUN touch .zshrc
|
||||
|
||||
CMD ["/bin/zsh", "-l"]
|
35
.zprezto/modules/prompt/external/powerlevel9k/docker/base-5.5.1/Dockerfile
vendored
Normal file
35
.zprezto/modules/prompt/external/powerlevel9k/docker/base-5.5.1/Dockerfile
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
FROM ubuntu:18.10
|
||||
|
||||
RUN \
|
||||
apt-get update && \
|
||||
echo 'golang-go golang-go/dashboard boolean false' | debconf-set-selections && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
zsh=5.5.1-1ubuntu1 \
|
||||
mercurial \
|
||||
subversion \
|
||||
golang \
|
||||
jq \
|
||||
nodejs \
|
||||
ruby \
|
||||
python \
|
||||
python-virtualenv \
|
||||
sudo \
|
||||
locales
|
||||
|
||||
RUN adduser --shell /bin/zsh --gecos 'fred' --disabled-password fred
|
||||
RUN locale-gen "en_US.UTF-8"
|
||||
|
||||
COPY docker/fred-sudoers /etc/sudoers.d/fred
|
||||
|
||||
USER fred
|
||||
WORKDIR /home/fred
|
||||
ENV LANG=en_US.UTF-8
|
||||
ENV TERM=xterm-256color
|
||||
ENV DEFAULT_USER=fred
|
||||
ENV POWERLEVEL9K_ALWAYS_SHOW_CONTEXT=true
|
||||
|
||||
RUN touch .zshrc
|
||||
|
||||
CMD ["/bin/zsh", "-l"]
|
@@ -9,7 +9,7 @@ for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
|
||||
ln -nsf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
|
||||
done
|
||||
|
||||
ln -s "${HOME}/p9k/powerlevel9k.zsh-theme" \
|
||||
ln -snf "${HOME}/p9k/powerlevel9k.zsh-theme" \
|
||||
"${HOME}/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup"
|
||||
|
||||
echo "zstyle ':prezto:module:prompt' theme 'powerlevel9k'" \
|
||||
|
7
.zprezto/modules/prompt/external/powerlevel9k/docker/zshing/Dockerfile
vendored
Normal file
7
.zprezto/modules/prompt/external/powerlevel9k/docker/zshing/Dockerfile
vendored
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
.zprezto/modules/prompt/external/powerlevel9k/docker/zshing/install.zsh
vendored
Normal file
16
.zprezto/modules/prompt/external/powerlevel9k/docker/zshing/install.zsh
vendored
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
|
Reference in New Issue
Block a user