diff --git a/Dockerfile b/Dockerfile index ee6215a..ca95566 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,10 @@ RUN cd /root sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" &&\ ln -sf /root/zshrc/rc /root/.zshrc &&\ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \ - ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting + ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting &&\ + chsh -s /bin/zsh RUN git clone --depth 1 https://github.com/junegunn/fzf.git /root/.fzf &&\ /root/.fzf/install + +CMD ["/bin/zsh"] diff --git a/debian-here.sh b/debian-here.sh index fe4b31c..14d00e1 100755 --- a/debian-here.sh +++ b/debian-here.sh @@ -22,7 +22,7 @@ run() { fi mount_point="/mnt/$(basename "$here")" - docker run --rm -ti -v "$here":"$mount_point" -w "$mount_point" debian-here /bin/zsh + docker run --rm -ti -v "$here":"$mount_point" -w "$mount_point" debian-here "$@" } -run +run "$@"