Really force fish

This commit is contained in:
Thomas Lovén 2021-02-18 20:54:01 +01:00
parent aea5dd602b
commit 2d9809f553
4 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
set -x DOTFILES $HOME/DOTFILES set -x DOTFILES $HOME/dotfiles
if test -z "$FISH_SETUP_PATH" if test -z "$FISH_SETUP_PATH"
set -x PATH $HOME/dotfiles/bin $PATH set -x PATH $HOME/dotfiles/bin $PATH

View File

@ -5,7 +5,9 @@ sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommend
USER=`whoami` USER=`whoami`
sudo -n chsh $USER -s $(which fish) sudo -n chsh $USER -s $(which fish)
sudo -n chsh vscode -s $(which fish) echo "exec $(which fish) -l" >> ~/.profile
echo "exec $(which fish) -l" >> ~/.bashrc
echo "exec $(which fish) -l" >> ~/.zshrc
echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
locale-gen locale-gen

View File

@ -7,4 +7,4 @@ WORKDIR /workspaces
COPY . /root/dotfiles COPY . /root/dotfiles
RUN /root/dotfiles/install.sh RUN /root/dotfiles/install.sh
CMD fish #CMD fish

View File

@ -4,6 +4,6 @@ cd "$(dirname "$0")/.."
docker build . -t dotfiles -f test/Dockerfile --force-rm docker build . -t dotfiles -f test/Dockerfile --force-rm
docker run --rm -it dotfiles docker run --rm -it dotfiles zsh
docker rmi dotfiles docker rmi dotfiles