File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ COPY --chown=gitpod:gitpod default.gitconfig /home/gitpod/.gitconfig
59
59
# configure git-lfs
60
60
RUN git lfs install --system --skip-repo
61
61
62
+ # Autoload .bashrc.d for other SHELLs (fish and zsh)
63
+ RUN mkdir -m 755 -p /usr/share/fish/vendor_conf.d /etc/zsh \
64
+ && printf 'source %s\n ' /etc/zsh/autoload_bash.zsh >> /etc/zsh/zshrc
65
+ COPY fish/autoload_bash.fish /usr/share/fish/vendor_conf.d
66
+ COPY zsh/autoload_bash.zsh /etc/zsh
67
+ RUN chmod 755 /etc/zsh/autoload_bash.zsh && touch $HOME/.zshrc
68
+
62
69
# ## Gitpod user (2) ###
63
70
USER gitpod
64
71
# use sudo so that user does not get sudo usage info on (the first) login
Original file line number Diff line number Diff line change
1
+ # !/usr/bin/env fish
2
+ if ! test -n " $AUTOLOAD_BASH_INJ "
3
+ set -gx AUTOLOAD_BASH_INJ true
4
+ exec bash -lic ' exec fish'
5
+ end
6
+ set -gu AUTOLOAD_BASH_INJ
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ if test ! -v AUTOLOAD_BASH_INJ; then
3
+ export AUTOLOAD_BASH_INJ=true
4
+ exec bash -lic ' exec zsh'
5
+ fi
6
+ unset AUTOLOAD_BASH_INJ
You can’t perform that action at this time.
0 commit comments