aboutsummaryrefslogtreecommitdiff
path: root/docker/omz
diff options
context:
space:
mode:
authorDan <2481552+opes@users.noreply.github.com>2018-04-30 21:07:55 +0300
committerGitHub <noreply@github.com>2018-04-30 21:07:55 +0300
commitfbb85e77e3dc307c21b79c655302158077fad916 (patch)
treef31b99e9fa274d247551537a694f615167895379 /docker/omz
parent75c6838a0dbb2fc84f2cf7d71cae9b147b04a379 (diff)
parent13b0e383a066c9c37d5cf71d4af521f9b73a173e (diff)
Merge branch 'master' into chruby_options
Diffstat (limited to 'docker/omz')
-rw-r--r--docker/omz/Dockerfile8
-rw-r--r--docker/omz/install.zsh4
-rw-r--r--docker/omz/zshrc5
3 files changed, 17 insertions, 0 deletions
diff --git a/docker/omz/Dockerfile b/docker/omz/Dockerfile
new file mode 100644
index 00000000..1a417b9f
--- /dev/null
+++ b/docker/omz/Dockerfile
@@ -0,0 +1,8 @@
+ARG base
+FROM p9k:${base}
+
+COPY docker/omz/install.zsh /tmp/
+RUN zsh /tmp/install.zsh
+
+COPY docker/omz/zshrc .zshrc
+COPY ./ p9k/
diff --git a/docker/omz/install.zsh b/docker/omz/install.zsh
new file mode 100644
index 00000000..e2cdfa96
--- /dev/null
+++ b/docker/omz/install.zsh
@@ -0,0 +1,4 @@
+sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
+
+mkdir -p ~/.oh-my-zsh/custom/themes
+ln -nsf ~/p9k/ ~/.oh-my-zsh/custom/themes/powerlevel9k
diff --git a/docker/omz/zshrc b/docker/omz/zshrc
new file mode 100644
index 00000000..9e798e2d
--- /dev/null
+++ b/docker/omz/zshrc
@@ -0,0 +1,5 @@
+export ZSH=$HOME/.oh-my-zsh
+ZSH_THEME="powerlevel9k/powerlevel9k"
+plugins=(git rake ruby)
+
+source $ZSH/oh-my-zsh.sh