This commit is contained in:
Jackson Delahunt 2019-01-30 04:06:40 +11:00
parent fba2016f5c
commit 13649addf1
3 changed files with 6 additions and 13 deletions

View file

@ -102,7 +102,7 @@ USER $USER
WORKDIR $HOME
# Keep existing user configuration files
RUN zsh -c "cp -r /$BASE_USER/home/{.gitconfig,.motd,.tmux.conf,.zshenv,.zshrc} $HOME"
RUN zsh -c "cp -r /$BASE_USER/home/{.gitconfig,.motd,.tmux.conf,.zlogin,.zshenv,.zshrc} $HOME"
# Clone dotfiles configuration
RUN alias https-to-git="sed 's;https://github.com/\(.*\);git@github.com:\1.git;'"
@ -113,8 +113,6 @@ RUN vcsh clone https://github.com/sabrehagen/dotfiles-alacritty && \
# Add program configurations
COPY config/tmuxinator $HOME/.config/tmuxinator
COPY config/zsh/.zshenv $HOME/.zshenv.desktop
RUN sed -i '1s;^;source $HOME/.zshenv.desktop\n\n;' $HOME/.zshenv
# Cache zsh plugins
RUN zsh -c "source $HOME/.zshrc"

View file

@ -1,10 +0,0 @@
name: dashboard
pre_window: clear
root: /jackson/home
windows:
- terminal:
layout: main-vertical
panes:
- zsh
- zsh

5
scripts/kill-all.sh Executable file
View file

@ -0,0 +1,5 @@
# Remove all non desktop-environment containers
docker ps -a | \
grep -v desktop-environment | \
cut -b 1-20 | \
xargs docker rm -f