On 23/07/14 09:53, santi...@debian.org wrote: > My default shell is zsh. Now it works with zsh and bash, after reading this: > https://wiki.gnome.org/action/show/Apps/Terminal/FAQ?action=show&redirect=Terminal%2FFAQ#How_can_I_make_new_terminals_start_in_the_working_directory_of_the_current_terminal.3F > However, the solution is inconsistent: > > For bash, I checked the "Run command as a login shell" profile option. > For zsh, I had to manually source vte.sh from my zshrc. > Shouldn't "Run command as a login shell" work for both of them?
zshall(1) says that zsh only sources /etc/profile (and hence profile.d) if it is invoked as sh or ksh, and not if it is invoked as zsh. Looking at my zshrc, it seems that I applied the same workaround you did at some point. I don't see much that either gnome-terminal or vte can do to improve on this, unfortunately - whether a particular shell executes /etc/whatever is up to that shell. Perhaps this should be wishlist bugs against bash and zsh, asking that the default bashrc and zshrc should execute /etc/profile.d/vte.sh if it exists, or that there should be some generic mechanism by which the default *rc execute extra files so that vte can drop in vte.sh? S -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org