chmod 755 <install-script-name>.sh
before committing and pushing to your dotfiles repository.
If there is no install script, your dotfiles will be symlinked into /home/gitpod
. In that case Gitpod will not overwrite existing files in your $HOME
directory. If you want to overwrite existing files you may use a custom install script.
.bash_aliases
. If this file is present in a workspace home directory, it will be found by the ‘.bashrc’ startup script in the Gitpod default image, so no additional install script is required.
.bash_aliases
/home/gitpod/.dotfiles.log
and can be viewed via
dotfiles
repository, you can run the below command snippet in your terminal as a workaround:
docker
, where your dotfiles will be installed so you can easily test.
For convenience, you can create a file called debug.sh
in your dotfiles repository and paste the snippet there. You could then run bash debug.sh
to use it.
install.sh
in your dotfiles repository, Gitpod will no longer auto symlink your dotfiles under $HOME
for you. It is by design so that you can have full control of how your dotfiles gets installed. An example of setting up a symlinking step is described below:
home_files
inside your dotfiles repository. You can place your .dotfiles in the home_files
directory, that means you could put files like .zshrc
, .tmux.conf
, .config/nvim/
and etc. in there.install.sh
), use/append the below snippet:install.sh
, by adding & disown
at the end of a command:
zsh
) or a dependency of something else that has to start before your dotfiles can get installed.
See #7592 for more info, please upvote and share your feedback on this issue.