Problem: I can’t create templates. When I select File → New From Template → «any of the templates» nothing happens.
Solution: Templates are created by running a shell script which create the actual template. This script reads the actual template from its current working directory.
If any of the files sourced in the shell startup changes the current working directory, it will break the templates.
If you need to change the current working directory (e.g. in
~/.bash_profile) then you can restrict it to only happen for interactive shells by using a line like this:
[[ $- = *i* ]] && cd «directory»
See also: Shell Commands