From 503b45cc2b3edf6531e8ce72615b0e0f756ce7c0 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 13 Sep 2024 19:10:26 +0200 Subject: [PATCH] test without .bashrc tmux auto-attach --- Dockerfile | 1 - start_tmux.sh | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 865c17b..fee8647 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,6 @@ RUN git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.v && ln -s ~/dotfiles/.vimrc ~/.vimrc \ && ln -s ~/dotfiles/vim/spell/ ~/.vim/ \ && rm ~/.bashrc \ - && ln -s ~/dotfiles/.bash_extra ~/.bashrc \ && vim +PluginInstall +qall COPY --chown=ansible-dev:ansible-dev start_tmux.sh . diff --git a/start_tmux.sh b/start_tmux.sh index eabaf1b..e3db975 100755 --- a/start_tmux.sh +++ b/start_tmux.sh @@ -1,3 +1,5 @@ #!/bin/bash tmux new-session -s ansible-devspace -d tmux attach -t ansible-devspace +ln -s ~/dotfiles/.bash_extra ~/.bashrc +source ~/.bashrc